spacer1
spacer2 1_1 1_2
2_1
 Subscribe
 The MP2K Update!
 
 
 
 Magazine
Front Cover
What's New
Articles
News
Sample Data
Gallery
Advertise
About
 Features
MapPoint 2013
Press Releases
MapPoint Forums
Companies
Link to MP2Kmag
Wish List
MapPoint Trial
Authors
 Earlier Content
Past News Items
Past What's New Announcements
 Sponsors
 Order

MapPoint 2013

Programming MapPoint in .NET

MapPoint Book

  Spatial Community
SVG Tutorials
MapPoint

Map Visitors

  MAPPOINT Q & A  

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


Google
 
MP2Kmag Internet


 Recent Discussion
 Resources


Want Your Site To Appear Here?

   © 1999-2012 MP2K. Questions and comments to: website@mp2kmag.com
  Microsoft and MapPoint 2002/2004/2006/2009/2010/2011/2013 are either trademarks or registered trademarks of Microsoft.