35 circle markers
Uncomment the following line to install leafmap if needed.
In [1]:
Copied!
# !pip install leafmap
# !pip install leafmap
In [2]:
Copied!
import leafmap
import leafmap
For a list of options for circle markers, see https://ipyleaflet.readthedocs.io/en/latest/api_reference/circle_marker.html
In [3]:
Copied!
m = leafmap.Map()
m.add_basemap("Stamen.Toner")
data = "https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/us_cities.csv"
m.add_circle_markers_from_xy(
data, x="longitude", y="latitude", radius=10, color="blue", fill_color="black"
)
m
m = leafmap.Map()
m.add_basemap("Stamen.Toner")
data = "https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/us_cities.csv"
m.add_circle_markers_from_xy(
data, x="longitude", y="latitude", radius=10, color="blue", fill_color="black"
)
m
Out[3]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Last update:
2022-03-14