Skip to content

gi-nx


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 ​

NameTypeDescription
maxMetresPerPixelnumber-
minMetresPerPixelnumberScale limits. min is zoomed furthest in, so it is the smaller number.

References ​