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

756 Greig McArthur - June 27, 2002

Using VB, is there any way if hiding a set of pushpins, I have multiple sets of which I only want one displayed at a time..is there such a think as dataset.hide? Also in the same theme, i would like the pushpins only to appear below a specified altitude, otherwise the display is cluttered with icons...can this be done? Thanks..

Answers:
June 27, 2002
No, there is no "Hide" method. But you could assign a 1x1 pixel icon as the symbol for the dataset.

Similarly, in code you could set a pushpin or a dataset's symbol to the 1x1 pixel icon when the Altitude is above a threshhold value. Use the AfterViewChange event to capture an altitude change.

- Walt Cygan

June 28, 2002
I've discovered another way, I have added 8 entires to my dataset with the co-ordinates 0,0 (or anything off the view I want), then to "hide" these I call dataSet.DisplayDataMap. This takes only the first 8 points and plots them as some other graph type way off my map. To show them again I simply call dataSet.DisplayPushpinMap and hey presto!

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.