IE 6 complains with various errors: "vertex1 undefined", "ver undefined". I've defined you vertex1 and 2 and got at least a value for the covered area. It is still not writing the coords, but a step further. addpoint is never called.
sankesolutions schrieb: > I should have said, im currently only trying this out on shapes, so to > test out the code you will need to click the add shape button, (far > right). > > Paul > > On Nov 25, 5:07 pm, sankesolutions <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> I have started my foray into JS and its not going bad, but im stuck on >> what is probably a simple error. >> >> I have modified one of the examples which allows google mymaps style >> userplacement of lines, items etc. I have edited it so that a user can >> also add a description to the page. >> >> For an item I can grab the lat/long no problems but for shapes I am >> struggling. >> >> I have added a addpoint function, which writes to a textfield. >> I have modified the startDrawing function after addlistener event, and >> everything works ok except it does not write the co-ordinates of each >> click to the text area. >> >> Im by no stretch a JS programmer, so I am struggling a little. You can >> see a demo online athttp://tinyurl.com/5hul2g >> >> Any pointers gratefully received. >> P >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
