The SetExtentCommand allows the map's current extent to be set through script.
CommandVerb¶
"se"
Parameters
The SetExtentCommand takes a ZoomGeometryParameters object.
Name | Type | Description |
---|
Geometry | Geometry | The geometry that the extent will be set to. |
Code Sample
FDOT.Map.executeCommand("se",
{
"Geometry":
{
"xmin":-9383855.4429890811,
"xmax":-9052586.2406177856,
"ymin":3172637.5873260531,
"ymax":3459257.462421217
}
});
See Also