API REFERENCE

fitMap

Fit current point/feature geometry with a uniform scale. Empty candidates leave the view unchanged.

정의

typescript
fitMap(options?: GeoMapFitOptions): Promise<GeoMapFitDetail|null>
인수타입필수 여부
optionsGeoMapFitOptions선택

반환 타입: Promise<GeoMapFitDetail|null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.