Functions
getMapSize
- getMapSize(displaySize: [number, number], metersPerUnit: number, units: UnitOfMeasure, resolution?: number, precision?: number): [number, number]
Parameters
displaySize: [number, number]
metersPerUnit: number
Optional resolution: number
Optional precision: number
Returns [number, number]
tryParseArbitraryCs
- tryParseArbitraryCs(csCode: undefined | string): { code: string; units: UnitOfMeasure } | undefined
Parameters
csCode: undefined | string
Returns { code: string; units: UnitOfMeasure } | undefined
Utility function to compute the physical map size based on the given display size and various display settings
0.11