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(tiles='stamentoner')
m.add_heatmap(
filepath,
latitude="latitude",
longitude='longitude',
value="pop_max",
name="Heat map",
radius=20,
)
m
m = leafmap.Map(tiles='stamentoner')
m.add_heatmap(
filepath,
latitude="latitude",
longitude='longitude',
value="pop_max",
name="Heat map",
radius=20,
)
m
Out[3]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Last update:
2022-03-29