1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 01:20:30 +00:00

Reminder that markers are draggable

This commit is contained in:
jeremy@jermolene.com 2022-12-09 08:32:06 +00:00
parent 7e0ddd03a5
commit 15f266a01f

View File

@ -79,7 +79,7 @@ GeomapWidget.prototype.renderMap = function(domNode) {
long = $tw.utils.parseNumber(tiddler.fields.long || "0"),
alt = $tw.utils.parseNumber(tiddler.fields.alt || "0"),
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);
}
});
}