Yes, This is exactly what I am trying to work on :).. Thanks
On Sep 14, 5:03 pm, Rossko <[email protected]> wrote:
> > I tried one thing which made it work worked but was really sluggish,
> > basically for every 2 points.. create a polyline, place overlay and
> > add click listener with dynamic data, It is very sluggish to move the
> > map after this :) So, this is not even a workaround for sure.. :)
>
> I suggest you look again at the first example you gave, and understand
> it. You can construct a single click listener which will respond to a
> click on any point on a polyline, wherever it may be. It can find out
> the coordinates of the click, and can dynamically fetch or calculate
> data based on that click. Say, for example, you want to find the
> distance along the polyline from one end, there already exists ways to
> do that. Or the listener can do an AJAX call to server-side code for
> information about that location.
> What you want to do is do-able, but not very practical in the way you
> are trying to do it.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---