diff options
| author | Code WvS <code-wvs@quantentunnel.de> | 2015-03-01 18:01:47 +0100 |
|---|---|---|
| committer | Code WvS <code-wvs@quantentunnel.de> | 2015-03-01 18:01:47 +0100 |
| commit | 8122de003561c5b46f9bd88fa6ad74a3e8b53998 (patch) | |
| tree | a9c694b33068707d7f3497bc3efe152bb5e15d6a /objects.js | |
| parent | 0f4690453967dcc8a58b8c120007902353113c79 (diff) | |
| download | snap-yow-8122de003561c5b46f9bd88fa6ad74a3e8b53998.tar.gz snap-yow-8122de003561c5b46f9bd88fa6ad74a3e8b53998.zip | |
make markers theoretically draggable
Diffstat (limited to 'objects.js')
| -rw-r--r-- | objects.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 () { |
