> When I draw first line, the starting Marker is not drawing but the > rest of line starting markers are working ...
I find it quite difficult to follow this code, but I'd say your onFirstClick method doesn't get added until after the first click has already occurred. > And the line ending Markers are not working at all. :-( The code to add an 'end marker' looks to be triggered from a map double-click, that doesn't seem to happen when you click (once) to end a line draw. If you double-click a line after it has been drawn, you get an error because changeColor() isn't defined in your code. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
