Hi

I would like to know if there is a solution for the following problem:

- given a gpx-trace (which could be converted to another format if
necessary), providing a series of lat-long-time items
- first of all the trace shall be displayed on the map as a polyline,
the trace-items being the nodes of the polyline
- in addition to this a marker shall be displayed, initially set to
the first node
- the user should now be able to grab the marker by mousedown and drag
it along the polyline, the marker continually snapping to the node
closest to the mouse position as long as the mousebutton is down, just
like a "slider", which moves not along a vertical or horizontal line
but along the polyline of the trace
- whenever the marker snaps to a new position, the node's information
(time) shall be provided to an external javascript function
- likewise it should be possible to set the marker to a new position
by javascript just by providing a time of the desired position, the
marker being set to the time-wise closest position

optional
- for future expansion it should be possible to run this not only on a
single trace, but to display multiple traces and a single marker, thus
when the marker snaps to a new position, identifier of trace and time
being provided and setting the marker by choosing trace and time

Is there a simple solution to this? Where are possible traps,
problems?

Markus

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to