Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
22
export
const
tileToKey = (tile) => {
23
return
tile.join(
','
)
24
}
25
26
export
const
pointToTile = (lon, lat, z, projection, order) => {
27
const
z2 = Math.pow(2, z)
Callers
4
getSiblings
Function · 0.85
getAncestorToRender
Function · 0.85
getDescendantsToRender
Function · 0.85
getTilesOfRegion
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected