[mapguide-users] Fwd: Consultation mapguide to be send

Hans Milling hm at geograf.dk
Mon Jul 20 03:46:37 PDT 2015


Hi Julian

If you have the vehicles on the MapGuide map, the entire map image is
reloaded/generated, every time you need to refresh the vehicle positions.

What I have done in my solution is:
1. From JavaScript call the server (an aspx/php) that returns all vehicles
positions in JSON format.
2. Add a vector layer to the OpenLayers map with the vehicles on top of the
MapGuide map.
3. Keep updating the vehicle data, eg. every 5 seconds from the server.

This way the MapGuide server is not used, unless I zoom/pan the map, even
though the vehicles are moving on the map. The load on the server is far
less this way.

Best regards
  Hans Milling...



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Fwd-Consultation-mapguide-to-be-send-tp5215466p5216221.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list