External module "utils/units"
Functions
getMapSize
- getMapSize(displaySize: [number, number], metersPerUnit: number, units: UnitOfMeasure, resolution?: undefined | number, precision?: undefined | number): [number, number]
-
Parameters
-
displaySize: [number, number]
-
metersPerUnit: number
-
-
Optional resolution: undefined | number
-
Optional precision: undefined | number
Returns [number, number]
Utility function to compute the physical map size based on the given display size and various display settings
0.11