GeoJSON test
In [1]:
import nm510
In [2]:
m = nm510.Map()
m
In [3]:
in_geojson = "./data/countries.json"
In [4]:
style = {
"stroke": True,
"color": "#000000",
"weight": 3,
"opacity": 0.8,
"fill": True,
"fillColor": "#0000ff",
"fillOpacity": 0.2,
}
In [5]:
m.add_geojson(in_geojson, layer_name="countries")
In [ ]:
Last update: 2021-03-19