@mapgear/geoapps > Map > ZoomToGeometry
Map.ZoomToGeometry() method
Zoom the map to the specified geometry
Signature:ZoomToGeometry(geometry: I.Geometry, options?: I.ZoomToGeometryOptions): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| geometry | I.Geometry | Geometry interface of the specified geometry |
| options | I.ZoomToGeometryOptions | (Optional) Zoom to Geometry options |
void