1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-08-07 03:30:36 +00:00

Reminder that markers are draggable

This commit is contained in:
jeremy@jermolene.com 2022-12-09 08:32:06 +00:00
parent 80fba7a292
commit 493278b887

View File

@ -79,7 +79,7 @@ GeomapWidget.prototype.renderMap = function(domNode) {
long = $tw.utils.parseNumber(tiddler.fields.long || "0"), long = $tw.utils.parseNumber(tiddler.fields.long || "0"),
alt = $tw.utils.parseNumber(tiddler.fields.alt || "0"), alt = $tw.utils.parseNumber(tiddler.fields.alt || "0"),
caption = tiddler.fields.caption || title; caption = tiddler.fields.caption || title;
var m = L.marker([lat,long,alt],{icon: myIcon}).bindPopup(caption).addTo(map); var m = L.marker([lat,long,alt],{icon: myIcon,draggable: false}).bindPopup(caption).addTo(map);
} }
}); });
} }