View Full Version : having the driver always be visible
BobFromBoston
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.
Any ideas?
Thanks,
Bob
calv1ns
07-31-2005, 01:14 AM
Hey Bob
If your "driver" is represented by a pushpin then I think this post will get you want you want:
http://www.mp2kmag.com/mappoint/discussion/viewtopic.asp?t=7186
Ciao,
Wilfried
07-31-2005, 12:51 PM
Hi,
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 3.6.1