double click zoom fix
This commit is contained in:
parent
c988eeafa7
commit
e7144bf096
@ -16,6 +16,6 @@ L.Handler.DoubleClickZoom = L.Handler.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_onDoubleClick: function(e) {
|
_onDoubleClick: function(e) {
|
||||||
this.setView(e.position, this._zoom + 1);
|
this.setView(e.latlng, this._zoom + 1);
|
||||||
}
|
}
|
||||||
});
|
});
|
Loading…
Reference in New Issue
Block a user