View Single Post

  #3 (permalink)  
Old 12-21-2006
Wilfried Wilfried is offline
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Re: What is it: ZoomIn, ZoomOut, ZoomTo or Altitude??

Hi,

I'm not sure if I understeand the question but:

GetLocation(lat, lon, alt) just returns a Location object. It does not move or zoom the map.

Location.Goto() Moves the map so that the location object is in center of the map. It does not zoom the map.

MP.ActiveMap.Altitude = 1; This zooms to 1 km (or 1 mile). Set Altitude to zoom in or out, and read altitude to see the value.

DataSet.ZoomTo() moves and zooms the map for a best view on all the pushpins in the dataset.

ZoomIn() and ZoomOut() zooms some value in / out. You can use it if user has a button or so to zoom. To zoom exact the value you want then you better set the Altitude (see before).

Does this answer your question ?
Reply With Quote