Revert change

This commit is contained in:
Vladyslav_Prykhodko 2020-05-22 19:11:42 +03:00
parent cc1f838d5d
commit 7c89f60283

View File

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