Zoom to view everything

lacja
09-08-2006, 12:26 PM
Hi,

I'd like to add a button in my app (VB) to give users the possibility to zoom out at a level (or altitude) where the will view every pushpins on the map.

How can it be done

Wilfried
09-08-2006, 01:56 PM
Hi,

This zooms to all pushpins no matter in witch dataset they are:

MP.ActiveMap.DataSets.ZoomTo();

You can also zoom to one specific dataset:

theDataset.ZoomTo();

 
Web mp2kmag.com
mapforums.com