I assume the GPS devices on the CABs send their coordinates to a central office and data is stored in a database. You application needs to talk to the database, grab the x, y coordinate. As long as you get the coordinates, create a Google map, build the markers based on coordinates and place the markers on the map should be easy. Please take a look of the Google map example pages to learn how to put a marker on the map.
If you are using C# ASPX page and you want to track the CABs live, it will be a little bit tricky. The whole page will refresh and the map object will be recreated. So you need to use AJAX or JSON. Hope it is helpful and I understand it correctly. Lawrence http://www.dyngeometry.com/ On Jul 10, 3:45 am, h2o <[email protected]> wrote: > hello... > i am working on my university project. i am using google map api to > track the location of cars. there is a GPS device placed in each car > and that GPS device send latitude/longitude of car to web page. the > problem is that ho i can receive latitude/longitude and display it on > the google map? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
