double click zoom fix

This commit is contained in:
Mourner 2011-04-12 16:51:51 +03:00
parent c988eeafa7
commit e7144bf096

View File

@ -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);
} }
}); });