On Aug 27, 1:44 am, Rossko <[email protected]> wrote:
> > 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.

As I pick your point ... i think it is triggered on first click
because now if you check I've set an alert msg for testing inside that
code on map first time.

> 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.

Yes I want to trigger this event on "doubleclick". Also changeColor()
method has fixed, but the problem is same yet. this event is not
triggered.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to