| MGMap.zoomScale |
|
boolean zoomScale(double lat, double lon, double scale)
Zooms to the specified map center (lat, lon) and scale.
This method always refreshes the map when the autoRefresh flag is set to True or when called from the onViewChanging or onMapLoaded events.
Note that this method does not work during a busy state.
lat - Latitude (Y) center of map window.
lon - Longitude (X) center of map window. scale - Map scale to zoom to.
boolean - Returns True if successful; otherwise, returns False.
-1 (busy)
-3 (illegal argument)