Heatmap
In [1]:
Copied!
import leafmap.foliumap as leafmap
import leafmap.foliumap as leafmap
In [2]:
Copied!
filepath = "https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/us_cities.csv"
filepath = "https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/us_cities.csv"
In [3]:
Copied!
m = leafmap.Map()
m.add_heatmap(
filepath,
latitude="latitude",
longitude='longitude',
value="pop_max",
name="Heat map",
radius=20,
)
m
m = leafmap.Map()
m.add_heatmap(
filepath,
latitude="latitude",
longitude='longitude',
value="pop_max",
name="Heat map",
radius=20,
)
m
Out[3]: