Hi,

thanks for the fast answer....
Here is a picture ....

http://www.jensfronert.de/julian/map.png

And som code:

// Creating the Polyline:

                var polyOptions = {geodesic:true};
                var polyline = new GPolyline([
                  new GLatLng(51.964711, 7.628496),
                  new GLatLng(40.639722, -73.778889)
                ],"#b22222", 2, 1, polyOptions);
                map.addOverlay(polyline);


// The Server-Polled Code: (data is an incrementing int):

      var test = polyline.GetPointAtDistance(data); // Returns the
GLatLng Object
      var marker = new GMarker(test);

      map.addOverlay(marker);
      map.addOverlay(polyline);



Greets,
Julian

-- 
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 [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.

Reply via email to