mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-12 10:20:26 +00:00
Reminder that markers are draggable
This commit is contained in:
parent
7e0ddd03a5
commit
15f266a01f
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user