Base Type: MapArea
A class that
defines the center point and size (in map units) of a map.
Property |
Type |
Description |
Center |
The location on which to center the map. | |
Height |
double |
The height of the map in map units. |
Units |
string |
The map units. |
Width |
double |
The width of the map in map units. |
Remarks
This object allows you to change the spatial
extent of a map by specifying the center, size and units. To
use, create a new object and define a new map extent using a center point,
the height and the width of the map. The height and width are in map units.
If the spatial reference of the map has changed, remember to adjust the
center point coordinates and height and width units accordingly.
If the aspect ratio defined by this object is different from the aspect
ratio of the requested map image, the returned map extent will be adjusted
to fit the requested image.
Examples