From f92cb4fb71c742b488f269d348d7bb44ebee0e34 Mon Sep 17 00:00:00 2001 From: Qiusheng Wu Date: Wed, 25 Oct 2023 11:16:41 -0400 Subject: [PATCH] Fix draw control geodesic bug --- geemap/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geemap/common.py b/geemap/common.py index dc9f71a5a7..b89845448f 100644 --- a/geemap/common.py +++ b/geemap/common.py @@ -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