API REFERENCE
fitMap
Fit current point/feature geometry with a uniform scale. Empty candidates leave the view unchanged.
Definition
fitMap(options?: GeoMapFitOptions): Promise<GeoMapFitDetail|null>| Arguments | Type | Required |
|---|---|---|
options | GeoMapFitOptions | Optional |
Return type: Promise<GeoMapFitDetail|null>. Call the method after element registration and await its Promise result.
- GeoMapFitDetail
Type definition
- GeoMapFitOptions
Type definition