From 8122de003561c5b46f9bd88fa6ad74a3e8b53998 Mon Sep 17 00:00:00 2001 From: Code WvS Date: Sun, 1 Mar 2015 18:01:47 +0100 Subject: make markers theoretically draggable --- objects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'objects.js') diff --git a/objects.js b/objects.js index 0e9acad..d2ebdd6 100644 --- a/objects.js +++ b/objects.js @@ -1419,7 +1419,7 @@ SpriteMorph.prototype.updateMarker = function () { }); // X position is longitude, Y latitude this.marker = L.marker([this.yPosition(), this.xPosition()], - {icon: this.icon, title: this.name}); + {icon: this.icon, title: this.name, draggable: this.draggable}); // add event handlers this.marker.on('click', function () { -- cgit v1.3.1