Disable _onZoomStart in canvas renderer

This fixes disappearing paths when starting an animated zoom.
This commit is contained in:
Jonas Coch 2015-10-16 13:27:53 +02:00
parent c2a3dc9f18
commit e6e165869f

View File

@ -25,6 +25,8 @@ L.Canvas = L.Renderer.extend({
this._ctx = container.getContext('2d');
},
_onZoomStart: L.Util.falseFn,
_update: function () {
if (this._map._animatingZoom && this._bounds) { return; }