@mapgear/mapengine > Map > ZoomToExtent
Map.ZoomToExtent() method
Perform zoom to a specific extent
Signature:ZoomToExtent(extent: Extent, options?: ZoomToExtentOptions): void;
Parameters
Parameter | Type | Description |
---|---|---|
extent | Extent | The extent to use to zoom the map |
options | ZoomToExtentOptions | The options used for zooming to the extent |
void