@nextgis/ngw-leaflet 4.1.1 → 4.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- /** Bundle of @nextgis/ngw-leaflet; version: 4.1.1; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-leaflet; version: 4.1.3; author: NextGIS */
2
2
  function getElement(el) {
3
3
  if (typeof el === "string") {
4
4
  let el_ = document.getElementById(el);
@@ -21150,6 +21150,10 @@ const _LeafletMapAdapter = class _LeafletMapAdapter {
21150
21150
  const map = this.map;
21151
21151
  if (container && map && window.ResizeObserver) {
21152
21152
  this._resizeObserver = new ResizeObserver(() => {
21153
+ map.invalidateSize({
21154
+ pan: false,
21155
+ debounceMoveend: true
21156
+ });
21153
21157
  this._updateMinZoomForBounds();
21154
21158
  });
21155
21159
  this._resizeObserver.observe(container);