API REFERENCE

GeoMapFitOptions

The GeoMapFitOptions type declaration and related types. Optional fields are marked with ?.

Type declaration

typescript
export interface GeoMapFitOptions {
  target?: 'all' | 'points' | 'features';
  pointIds?: ReadonlyArray<string>;
  featureIndexes?: ReadonlyArray<number>;
  padding?: number;
  maxZoom?: number;
  recenter?: boolean;
}