Does anyone know of a good way to programmatically hide push pins that have been added to the map display?
I would like to "turn-off" my push pins once I zoom out to a certain level.
This is a discussion on Hide/Show Push Pins within the MapPoint Desktop Discussion forums, part of the Map Forums category; Does anyone know of a good way to programmatically hide push pins that have been added to the map display? ...
Does anyone know of a good way to programmatically hide push pins that have been added to the map display?
I would like to "turn-off" my push pins once I zoom out to a certain level.
Hi,
the most quick way is to just delete the dataset where the pushpins are in. After zoom in you have to add them again.
rgds, Wilfried Mestdagh
www.mestdagh.biz
www.comfortsoftware.be
www.expertsoftware.be
MapPoint coding demo
MapPoint 2011 available, buy now
The time to do this is way too slow. I might have several thousand fire hydrants in a single county.
MapPoint needs a simple "visible" option for push pins.
Hi,
Deleting the dataset will go pretty fast, but to make them visible, if you have so mutch then you can use importData method. This will let you import 1000 pushpins in less than a second.
Another way is to reduce the number of pushpins to the visible area and also reduce or hide at large altitude.
rgds, Wilfried Mestdagh
www.mestdagh.biz
www.comfortsoftware.be
www.expertsoftware.be
MapPoint coding demo
MapPoint 2011 available, buy now
There are currently 1 users browsing this thread. (0 members and 1 guests)