@mapgear/mapengine > Map > ZoomToGeometry
Map.ZoomToGeometry() method
Zoom to the extent of a geometry
Signature:ZoomToGeometry(geometry: Geometry, options?: ZoomToGeometryOptions): void;
Parameters
Parameter | Type | Description |
---|---|---|
geometry | Geometry | Geometry to zoom to |
options | ZoomToGeometryOptions | Optional options for the zoom action |
void