From 75e6ecbdfa6e105f47f6d90e5db599d03766f180 Mon Sep 17 00:00:00 2001 From: SuperPat <7791600+SuperPat45@users.noreply.github.com> Date: Thu, 20 Jun 2019 13:02:22 +0200 Subject: [PATCH] Zooming out causes grey area and label position change Fix bugs #71 and #81 --- leaflet-mapbox-gl.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/leaflet-mapbox-gl.js b/leaflet-mapbox-gl.js index 947ca96..4f8bf7c 100644 --- a/leaflet-mapbox-gl.js +++ b/leaflet-mapbox-gl.js @@ -208,6 +208,8 @@ L.DomUtil.setTransform(this._glMap._actualCanvas, offset.subtract(this._offset), scale); this._zooming = false; + + this._update(); }, _transitionEnd: function (e) {