[Google Maps API v3] Re: preview polyline before end click

2012-01-05 Thread Marcelo
On Jan 4, 3:34 pm, Andrew wrote: > Thank you. That example helped. I think it looks better without using > markers, so I just set them to visible: false. If you don't want the markers, you don't need to create them at all. Just use two boolean variables, such as var point1 = false; var point2 =

[Google Maps API v3] Re: preview polyline before end click

2012-01-04 Thread Andrew
Thank you. That example helped. I think it looks better without using markers, so I just set them to visible: false. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.googl

[Google Maps API v3] Re: preview polyline before end click

2012-01-03 Thread Marcelo
On Jan 3, 3:09 pm, Andrew wrote: > I have a measure distance tool that calculates the length of a polyline of > only 2 vertices that works fine, but I would like to be able to see the > line before I make the second click (to end the polyline). Thanks! Add an event listener to the map's mousemove