Main Content
getMapData
Syntax
Description
returns a matrix of values in a subregion of the map layer, mapData
= getMapData(map
,bottomLeft
,mapSize
)map
. The
subregion starts in the bottom-left xy-position
bottomLeft
in world coordinates with a given map size
mapSize
specified as [width height]
in
meters.
specifies the bottom-left corner of the subregion in local coordinates.mapData
= getMapData(map
,bottomLeft
,mapSize
,"local")