don't perform if animatingZoom

This commit is contained in:
snkashis 2013-02-17 14:56:48 -05:00
parent 70968e06d4
commit d010d586d0

View File

@ -141,6 +141,8 @@ L.Path = (L.Path.SVG && !window.L_PREFER_CANVAS) || !L.Browser.canvas ? L.Path :
},
_onMouseMove: function (e) {
if (this._map._animatingZoom) { return; }
if (this._containsPoint(e.layerPoint)) {
this._ctx.canvas.style.cursor = 'pointer';
this.fire('mouseover', {