@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
  import LeafletMapAdapter from '@nextgis/leaflet-map-adapter';
3
3
  import { NgwMap } from '@nextgis/ngw-map';
4
4
  import { Icon } from 'leaflet';
@@ -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
  var NgwLeaflet = (function () {
3
3
  'use strict';
4
4
 
@@ -21153,6 +21153,10 @@ var NgwLeaflet = (function () {
21153
21153
  const map = this.map;
21154
21154
  if (container && map && window.ResizeObserver) {
21155
21155
  this._resizeObserver = new ResizeObserver(() => {
21156
+ map.invalidateSize({
21157
+ pan: false,
21158
+ debounceMoveend: true
21159
+ });
21156
21160
  this._updateMinZoomForBounds();
21157
21161
  });
21158
21162
  this._resizeObserver.observe(container);