Centers the map to a specific latitude and longitude and sets the zoom level.
MapControl.SetCenterAndZoom(latitude, longitude, zoomLevel);
Parameters
- latitude
- The latitude of the point on which to center the map.
- longitude
- The longitude of the point on which to center the map.
- zoomLevel
- The zoom level for the map. Valid values range from 1 to 19
Remarks
The SetCenterAndZoom method returns results faster than if you call both the SetCenter and SetZoom methods separately.