| MGMap.setScale |
|
void setScale(double scale)
Sets the current map display scale in terms of 1:scale.
The map will refresh centered at the current longitude/latitude using the new scale value.
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.
scale - The new map scale. The value must be greater than 0.
-1 (busy)
-3 (illegal argument)