Thanks to the group i have managed to make the implementation i
needed. I have one question more, just to see if it can be done- and
if it looks better.

First: Here is the map, paning from random data:
http://kyrrebaker.com/trails/?user=DemoUser

The question are. Can i, in a not-to-difficult way, make the map
create a polyline from "the last mark"- to "this mark"?

I.e. The user opens the map; and the map are only showing a mark.
After XX seconds the map gets new data and pans to the new mark. So.
Is it possible to get a polyline between the first- and "next" marks?
Growing each time the position are re-read from the server?

My "trails"- map did create a polyline from all the marks, but now i
want it to "grow" in "real time". The code i used when i got all (25)
the positions from the database looks like this.

var polyline = new GPolyline([
        new GLatLng(<?php echo $pos; ?>),
        new GLatLng(<?php echo $prev; ?>)
], "#00ff00", 5);
map.addOverlay(polyline);

Anyone?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to