fromGeoCoordinates static method

TileKey fromGeoCoordinates(
  1. GeoCoordinates coordinates,
  2. int storageLevel,
  3. TilingScheme tilingScheme
)

Creates a tile key containing specified coordinates at specified storage level and tiling scheme.

For tiling schemes using Web Mercator projection, the latitude of input coordinates is clamped to [-85.05113, 85.05113] range.

  • coordinates The coordinates for which to create the tile key.

  • storageLevel The storage level of the tile key, clamped to [0, 31].

  • tilingScheme The tiling scheme to use for the tile key.

Returns TileKey. Tile key containing specified coordinates.

Implementation

static TileKey fromGeoCoordinates(GeoCoordinates coordinates, int storageLevel, TilingScheme tilingScheme) => $prototype.fromGeoCoordinates(coordinates, storageLevel, tilingScheme);