[Google Maps API v2] Re: open infowindow on polyline from sidebar
On Oct 5, 3:54 am, xelawho <xela...@gmail.com> wrote:
>
> The map is here:http://xelawho.com/map/
You can't have two functions with the same name. Some browsers will
take note of (and run) the first and ignore the second; others will
take note of (and run) the second as superseding the first. Some may
well give up completely.
What you *could* do is push your lines on to the same array as your
markers, so that you just trigger a click on whatever happens to be at
position [i] in the array. It might be better to rename the array as
"overlays" just to make it clear that it's a generic array rather than
just containing markers.
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home