Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python-visualization/folium
/ mercator
Function
mercator
folium/utilities.py:249–250 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
247
""
"
248
249
def
mercator(x):
250
return
np.arcsinh(np.tan(x * np.pi / 180.0)) * 180.0 / np.pi
251
252
array = np.atleast_3d(data).copy()
253
height, width, nblayers = array.shape
Callers
1
mercator_transform
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected