View Single Post

  #2 (permalink)  
Old 10-25-2006
Mark - MSFT Mark - MSFT is offline
Junior Member
Yellow Belt
 
Join Date: Dec 2005
Posts: 22
Send a message via AIM to Mark - MSFT
Re: Display Moving objects on Map in ASP.net

Hey whenry6000

Consider using AJAX to handle the graphic on top of the map, that will handle your requirement for not refreshing the page. You can put a graphic (icon) in a div tag and just update the positional information based on your vehicle’s Lat/Long which can then be converted into an x,y (then plotted on the map image) coordinate using the convertToPoint() method. The bounding box your map is in has known coordinates, so you can set your map to pan when you are x pixels from the edge.

Hope that helps,

Mark - MSFT
Reply With Quote