Functions
Const coordToPoint
Defined in src/maps/proj/Mercator.ts:103
Parameters
lat: number
lon: number
zoom: number
Default value center: Coordinate = undefined
Default value size: Size = undefined
Const coordToTile
Defined in src/maps/proj/Mercator.ts:250
Parameters
Const getBoundsCenter
Defined in src/maps/proj/Mercator.ts:127
Parameters
Const getBoundsThatFits
Defined in src/maps/proj/Mercator.ts:196
Parameters
Default value padding: number = 0
Const getBoundsZoomLevel
Defined in src/maps/proj/Mercator.ts:146
Parameters
Returns number
Const getSizeForBounds
Defined in src/maps/proj/Mercator.ts:178
Parameters
Const pointToCoord
Defined in src/maps/proj/Mercator.ts:75
Parameters
x: number
y: number
zoom: number
Default value center: Coordinate = undefined
Default value size: Size = undefined
Const tileToCoord
Defined in src/maps/proj/Mercator.ts:270
Parameters
Legend
Constructor
Property
Method
Accessor
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Static property
Static method
The
Mercator
module provides utility functions when working with a map in Mercator project, such as converting between geographical coordinates and pixel coordinates and calculating coordinate bounds.