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) {