Skip to content

Commit

Permalink
Fix draw control geodesic bug (#1797)
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs authored Oct 25, 2023
1 parent 6a5852e commit 0fda46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geemap/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2733,7 +2733,7 @@ def geojson_to_ee(geo_json, geodesic=False, encoding="utf-8"):
radius = geo_json["properties"]["style"]["radius"]
geom = geom.buffer(radius)
else:
geom = ee.Geometry(geo_json["geometry"])
geom = ee.Geometry(geo_json["geometry"], "", geodesic)
elif (
geo_json["geometry"]["type"] == "Point"
): # Checks whether it is a point
Expand Down

0 comments on commit 0fda46b

Please sign in to comment.