View as Markdown

API reference: @salmonui/charts/geo-map

GeoMapViewinterface

import type { GeoMapView } from '@salmonui/charts/geo-map';
interface GeoMapView {
    readonly center: LatLon;
    readonly zoom: number;
}

The map view: center [latitude, longitude] (planar maps: [y, x]) and zoom (1 = the fitted frame).

GeoMapView members (2)
NameSignatureDescription
centerreadonly center: LatLon;
zoomreadonly zoom: number;