From 5c2bd44560b188e1139fcdf52f8e714172d64320 Mon Sep 17 00:00:00 2001 From: Qiusheng Wu Date: Wed, 11 Dec 2024 09:49:16 -0500 Subject: [PATCH] Fix maplibre annotation bug (#1019) --- leafmap/maplibregl.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/leafmap/maplibregl.py b/leafmap/maplibregl.py index cb09b1472b..6b8ee5842f 100644 --- a/leafmap/maplibregl.py +++ b/leafmap/maplibregl.py @@ -3696,6 +3696,9 @@ def add_gps_trace( "geometry", ] + if ann_column not in columns: + columns.append(ann_column) + if ann_column_edited not in columns: columns.append(ann_column_edited) if "geometry" not in columns: