In [1]:
Copied!
# %pip install "leafmap[maplibre]"
# %pip install "leafmap[maplibre]"
In [2]:
Copied!
import leafmap.maplibregl as leafmap
import leafmap.maplibregl as leafmap
In [3]:
Copied!
data = (
"https://github.com/opengeos/datasets/releases/download/vector/hike_gps_trace.csv"
)
data = (
"https://github.com/opengeos/datasets/releases/download/vector/hike_gps_trace.csv"
)
In [4]:
Copied!
m = leafmap.Map(style="3d-hybrid")
m.add_gps_trace(data, radius=5, add_line=True)
m.add_layer_control()
m
m = leafmap.Map(style="3d-hybrid")
m.add_gps_trace(data, radius=5, add_line=True)
m.add_layer_control()
m
An API key is required to use the 3D terrain feature.