Folium
In [ ]:
Copied!
import geomapdemo.foliumap as geomapdemo
import geomapdemo.foliumap as geomapdemo
In [ ]:
Copied!
m = geomapdemo.Map(center=[40, -100], zoom=4)
m = geomapdemo.Map(center=[40, -100], zoom=4)
In [ ]:
Copied!
url = "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}"
url = "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}"
In [ ]:
Copied!
m.add_tile_layer(url=url, name="Satellite", attribution="Esri")
m.add_tile_layer(url=url, name="Satellite", attribution="Esri")
In [ ]:
Copied!
m.add_marker(location=[40, -100], popup="Marker")
m.add_marker(location=[40, -100], popup="Marker")
In [ ]:
Copied!
m.add_circle_marker(location=[40, -100], radius=20, popup="Circle Marker")
m.add_circle_marker(location=[40, -100], radius=20, popup="Circle Marker")
In [ ]:
Copied!
m.add_circle(location=[40, -100], radius=20, popup="Circle")
m.add_circle(location=[40, -100], radius=20, popup="Circle")
In [ ]:
Copied!
m.click_for_marker(popup="Waypoint")
m.click_for_marker(popup="Waypoint")
In [ ]:
Copied!
m
m