Closed patel-zeel closed 1 month ago
This issue is similar to #920. edit_polygons does not work if gdf is not in EPSG:4326.
edit_polygons
gdf
show_what_fails = True import leafmap.leafmap as leafmap import geopandas as gpd m = leafmap.Map() m.add_basemap("HYBRID") gdf = gpd.read_file("https://raw.githubusercontent.com/opengeos/leafmap/master/examples/data/countries.geojson") if show_what_fails: gdf = gdf.to_crs("EPSG:3857") else: gdf = gdf.to_crs("EPSG:4326") m.edit_polygons(gdf) m
Environment Information
Description
This issue is similar to #920.
edit_polygons
does not work ifgdf
is not in EPSG:4326.What I Did