summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCode WvS <code-wvs@quantentunnel.de>2015-03-01 18:01:47 +0100
committerCode WvS <code-wvs@quantentunnel.de>2015-03-01 18:01:47 +0100
commit8122de003561c5b46f9bd88fa6ad74a3e8b53998 (patch)
treea9c694b33068707d7f3497bc3efe152bb5e15d6a
parent0f4690453967dcc8a58b8c120007902353113c79 (diff)
downloadsnap-yow-8122de003561c5b46f9bd88fa6ad74a3e8b53998.tar.gz
snap-yow-8122de003561c5b46f9bd88fa6ad74a3e8b53998.zip
make markers theoretically draggable
-rw-r--r--objects.js2
1 files changed, 1 insertions, 1 deletions
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 () {