Advance thanks to all..in my web application ,when the user click on a button ,vehicle position(graphic) is autoupdating in each 10 seconds.In the first click vehicle position will come on the centre of the map.with the following code Dispatcher.BeginInvoke(Sub() ZoomToResolution(MyMap, 0.00005, New MapPoint(Convert.ToDouble(gpsNMEASentence(4)), Convert.ToDouble(gpsNMEASentence(2)))))
I want to zoom the map again ,when the vehicle position(graphic) will go out of the actual width and height of map(visible area)?how can I do this?