View Full Version : having the driver always be visible
07-30-2005, 03:31 PM
I have a MapPoint control correctly displaying a driver's location, where I highlight the most recent driver location. But when the driver moves off the visible area of the map, he appears to have disapeared. I'd like to find out how I can move the visible area of the screen so that the driver always will be visible.
07-31-2005, 01:14 AM
If your "driver" is represented by a pushpin then I think this post will get you want you want:
07-31-2005, 12:51 PM
use ZoomTo(), Goto(), LocationToXY(), .. depending what you precice want. First 2 will center, latter you have to do it yourself when it comes out of vidible area.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO