How to make Moving Symbols using MapScript
Stephen Woodbridge
woodbri at SWOODBRIDGE.COM
Fri Mar 25 05:34:55 PST 2005
You should be able to do this is with a Java applet or a Flash
application. And you might be able to do it with xhtml and javascript.
The problem is you need to decide whether the application is going to
get its new data by push from the server or by polling the server for
updates. Since the map is not changing except when you pan or zoom it I
would separate the map image from the vehicles being tracked so your
client side application can request map changes based on the user input
and that you get a list of vehicles and their locations as a separate
stream of data from the server, then you Java, Flash, whatever to draw
the vehicles on top of the map. make the vehicle update a separate
thread and your all done.
-Steve W.
http://imaptools.com
vdharan wrote:
> Hello,
> Iam working on a vehicle tracking system. I want to show symbols
> representing vehicles to move in the map as and when the co-ordinate of the
> vehicle changes. I continuously get the co-ordinate of the vehicles at
> regular intervals. I want this to happen without refreshing the page.
>
> Can any one suggest me a way to do this.
> Iam using Redhat9 and PHP Mapscript.
>
> Best Regards,
> vdharan
>
More information about the MapServer-users
mailing list