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