Add geojson
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!
m.add_geojson(
"https://raw.githubusercontent.com/python-visualization/folium/master/examples/data/us-states.json"
)
m.add_geojson(
"https://raw.githubusercontent.com/python-visualization/folium/master/examples/data/us-states.json"
)
In [ ]:
Copied!
m
m