Methods
Static
getBounds
- getBounds(x: number, y: number, zoom: number): Bounds
-
Parameters
-
x: number
-
y: number
-
zoom: number
Static
getPixel
- getPixel(width: number, height: number, bounds: Bounds, point: Point): Pixel
-
Parameters
-
width: number
-
height: number
-
-
Static
getXPixel
- getXPixel(width: number, bounds: Bounds, longitude: number): number
-
Parameters
-
width: number
-
-
longitude: number
Returns number
Static
getYPixel
- getYPixel(height: number, bounds: Bounds, latitude: number): number
-
Parameters
-
height: number
-
-
latitude: number
Returns number
Static
getZoomLevel
- getZoomLevel(bounds: Bounds): number
-
Returns number
Static
isOmittedBandLetter
- isOmittedBandLetter(letter: string): boolean
-
Returns boolean
Static
precisionAfter
- precisionAfter(value: number, precision: number): number
-
Parameters
-
value: number
-
precision: number
Returns number
Static
precisionBefore
- precisionBefore(value: number, precision: number): number
-
Parameters
-
value: number
-
precision: number
Returns number
Static
tileSize
- tileSize(tilesPerSide: number): number
-
Returns number
Static
tilesPerSide
- tilesPerSide(zoom: number): number
-
Returns number
Static
toUnit
- toUnit(fromUnit: Unit, longitude: number, latitude: number, toUnit: Unit): Point
-
Parameters
-
fromUnit: Unit
-
longitude: number
-
latitude: number
-
Static
toUnitOpposite
- toUnitOpposite(longitude: number, latitude: number, unit: Unit): Point
-
Parameters
-
longitude: number
-
latitude: number
-
Grid utilities