Hi Andrew,
Have got the code working for all the polylines on different overlays
now.
But, can't seem to get the right syntax for adding an infowindow when
polyline clicked.
Any ideas?
I have tried this so far:
GEvent.addListener(encodedPolyline, 'click', function() {
encodedPolyline.openInfoWindow((38.66801200,-105.25580700), 'hello');
});
Cheers
On Jun 24, 7:49 am, Andrew C Leach <[email protected]> wrote:
> On 24 June 2010 14:41, majestic <[email protected]> wrote:
>
> > Ok... I'll bite... which one would you recommend? ;)
>
> >> > All lines are the same.. thickness,color etc.
> >> > When lines clicked should go off to another page somehow.
>
> The only way you are going to get different lines each with their own
> click behaviour is to make each one a separate overlay.
--
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.