45 create vector
Uncomment the following line to install leafmap if needed.
In [ ]:
Copied!
# !pip install leafmap
# !pip install leafmap
In [ ]:
Copied!
import leafmap
import leafmap
Create an interactive map and use the drawing tool to draw shapes on the map.
In [ ]:
Copied!
m = leafmap.Map()
m
m = leafmap.Map()
m
Save the draw features as GeoJSON, Shapefile, or GeoPackage.
In [ ]:
Copied!
m.save_draw_features("data.geojson")
m.save_draw_features("data.geojson")
