gi-nx / MapCameraView
ts
type MapCameraView = MapCamera & {
maxMetresPerPixel: number;
minMetresPerPixel: number;
};The camera, plus the scale limits the map will not go past.
Type Declaration
| Name | Type | Description |
|---|---|---|
maxMetresPerPixel | number | - |
minMetresPerPixel | number | Scale limits. min is zoomed furthest in, so it is the smaller number. |