From 6e342f9bbd74c3415e15a1e42ff9c6dc365ef491 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Thu, 30 May 2024 17:37:42 +0100 Subject: [PATCH] Fix subtle typo that was preventing popups from working correctly --- plugins/tiddlywiki/geospatial/widgets/geomap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tiddlywiki/geospatial/widgets/geomap.js b/plugins/tiddlywiki/geospatial/widgets/geomap.js index 56953c2fd..15e027a4a 100644 --- a/plugins/tiddlywiki/geospatial/widgets/geomap.js +++ b/plugins/tiddlywiki/geospatial/widgets/geomap.js @@ -202,7 +202,7 @@ GeomapWidget.prototype.refreshMap = function() { long: latlng.lng }); }); - return markers; + return marker; }, onEachFeature: function(feature,layer) { if(feature.properties) {