How to show or hide places from visual basic on a map?

Anonymous
01-15-2004, 05:41 AM
How can I to show or hide places (restaurants, parkings...) from a visual basic application?

Mossoft
01-15-2004, 06:20 AM
oMap.ActiveMap.PlaceCategories("Restaurants").visible=false

will hide restaurants.

M.

Anonymous
01-15-2004, 10:06 AM
Many thanks, Mossoft.

XRoK
06-09-2004, 05:33 PM
oMap.ActiveMap.PlaceCategories("Restaurants").visible=true

After I found your reply and i try to get Restaurants show on map.
but it did not work, infact did nothing to map.

What am I missing?

Thanks

XRoK
06-17-2004, 10:43 AM
My bad.

oMap.ActiveMap.PlaceCategories("Restaurants").visible=true


It did show, but place will disapear when you use Zoom (In or Out).
Way I can have Place stay on map.

I'm using code at form load
I even try to add on Zoom_click() also
Thanks

 
Web mp2kmag.com
mapforums.com