<jupyter_start><jupyter_text>Add file to a map in shapefile or geoJSON format<jupyter_code>import geodatatool
import os
m = geodatatool.Map()
m
green_style = {
    "stroke": True,
    "color": "#00ff00",
    "weight": 4,
    "opacity": 1,
    "fill": False,
    "fillColor": "#000000",
    "fillOpacity": 0.2,
}
in_shp = "./data/countries.shp"
m.add_shapefile(in_shp, style=green_style, layer_name="Shapefile")
in_geojson = "./data/us_states.geojson"
m.add_geojson(in_geojson, layer_name="GeoJSON")<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup