Top |
Post New Question |
Read All |
MP2K Asks Microsoft
803
Tim Casey
-
July 23, 2002
I have developed an app that uses a MapPoint Control that creates a map with
a pinpoint based on Lat/Lon. I would like to allow users to be able to
zoom-in or zoom-out on the PinPoint, but not re-search, find, or browse to
different locations.
Programmatically, I have only been able to control the entire "Navigation"
toolbar (e.g.
MPC.Toolbars.Item("Navigation").Visible = False
). Is there a way to enable only Zoom control or disable the other
navigation features?
Answer:
July 25, 2002
Not sure if you can disable some parts of a toolbar but probably not. Why not just add buttons or menus for what you want to provide? To Zoom in use something like this:
If MPC.ActiveMap.Altitude > 100 Then
MPC.ActiveMap.Altitude = MPC.ActiveMap.Altitude - 100
End If
Post New Answer / Follow-up