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).
| Name | Signature | Description |
|---|---|---|
center | readonly center: LatLon; | |
zoom | readonly zoom: number; |