Commit ea184ec5d1c53106529c0cbef0f54162c409309f

Authored by Artem Halushko
1 parent c7ec88cc

boundaries fix

... ... @@ -222,6 +222,7 @@ export default abstract class LeafletMap {
222 222 this.bounds = this.bounds.extend(this.options.defaultCenterPosition);
223 223 }
224 224 this.map.fitBounds(this.bounds, { padding: padding || [50, 50], animate: false });
  225 + this.map.invalidateSize();
225 226 }
226 227 }
227 228 }
... ...