WebMercatorTilingScheme
external class WebMercatorTilingScheme(options: WebMercatorTilingScheme.ConstructorOptions? = definedExternally) : TilingScheme(source)
A tiling scheme for geometry referenced to a WebMercatorProjection, EPSG:3857. This is the tiling scheme used by Google Maps, Microsoft Bing Maps, and most of ESRI ArcGIS Online.
See also
Types
Link copied to clipboard
interface ConstructorOptions
Functions
Link copied to clipboard
Gets the total number of tiles in the X direction at a specified level-of-detail.
Link copied to clipboard
Gets the total number of tiles in the Y direction at a specified level-of-detail.
Link copied to clipboard
open override fun positionToTileXY(position: Cartographic, level: Int, result: Cartesian2?): Cartesian2
Calculates the tile x, y coordinates of the tile containing a given cartographic position.
Link copied to clipboard
Transforms a rectangle specified in geodetic radians to the native coordinate system of this tiling scheme.
Link copied to clipboard
open override fun tileXYToNativeRectangle(x: Double, y: Double, level: Int, result: ERROR CLASS: Symbol not found for JsAny??): Rectangle
Converts tile x, y coordinates and level to a rectangle expressed in the native coordinates of the tiling scheme.
Link copied to clipboard
open override fun tileXYToRectangle(x: Double, y: Double, level: Int, result: ERROR CLASS: Symbol not found for JsAny??): Rectangle
Converts tile x, y coordinates and level to a cartographic rectangle in radians.