| 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 |