@nextgis/leaflet-map-adapter 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/leaflet-map-adapter; version: 4.1.1; author: NextGIS */
1
+ /** Bundle of @nextgis/leaflet-map-adapter; version: 4.1.3; author: NextGIS */
2
2
  function getElement(el) {
3
3
  if (typeof el === "string") {
4
4
  let el_ = document.getElementById(el);
@@ -17548,6 +17548,10 @@ const _LeafletMapAdapter = class _LeafletMapAdapter {
17548
17548
  const map = this.map;
17549
17549
  if (container && map && window.ResizeObserver) {
17550
17550
  this._resizeObserver = new ResizeObserver(() => {
17551
+ map.invalidateSize({
17552
+ pan: false,
17553
+ debounceMoveend: true
17554
+ });
17551
17555
  this._updateMinZoomForBounds();
17552
17556
  });
17553
17557
  this._resizeObserver.observe(container);