MCPcopy Create free account
hub / github.com/carbonplan/maps / tileToKey

Function tileToKey

src/utils.js:22–24  ·  view source on GitHub ↗
(tile)

Source from the content-addressed store, hash-verified

20}
21
22export const tileToKey = (tile) => {
23 return tile.join(',')
24}
25
26export const pointToTile = (lon, lat, z, projection, order) => {
27 const z2 = Math.pow(2, z)

Callers 4

getSiblingsFunction · 0.85
getAncestorToRenderFunction · 0.85
getDescendantsToRenderFunction · 0.85
getTilesOfRegionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected