We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2647066 commit 89c6c69Copy full SHA for 89c6c69
packages/display/src/Map.ts
@@ -1651,6 +1651,8 @@ export class Map {
1651
// make sure map is fully initialised
1652
if (this._display) {
1653
this._display.setSize(width, height);
1654
+ // ensure `singleWorldView` is respected and prevent map repetition when resizing the map
1655
+ this.setZoomlevel(this.getZoomlevel());
1656
this.updateGrid();
1657
this._l.trigger('resize', [new MapEvent('resize', {width: width, height: height})]);
1658
}
0 commit comments