wmcenter
(To be removed) Set or obtain web map center point
The wmcenter function will be removed in a future release. Use
a geographic axes object and the MapCenter property of the object instead. For
information on updating your code, see Version History.
Syntax
Description
wmcenter(
centers the current web map at the specified latitude and longitude. If there is
no current web map, centerLatitude,centerLongitude)wmcenter creates a new web map.
wmcenter(
centers the web map, specified by the handle wm,centerLatitude,centerLongitude)wm, at the
specified latitude and longitude.
wmcenter(___,
centers and zooms the web map to the specified zoom level.zoomLevel)
Examples
Input Arguments
Output Arguments
Tips
Particular maps may not support every available zoom level. If your map displays as completely white, try another zoom level. The map you are displaying may not support the zoom level you have currently selected. You can also select another base layer, which might support the specified zoom level.
Version History
Introduced in R2013bSee Also
1 Alignment of boundaries and region labels are a presentation of the feature provided by the data vendors and do not imply endorsement by MathWorks®.
