Open kamakshidasan opened 5 years ago
Hi,
I'm using mapbox-gl on a high resolution ultra-wall. Panning does not work as expected in some scenarios in v0.48.0
Case 1:
This seems to work fine. Only horizontal panning is present.
Case 2:
In this case, after resizing slightly, the topmost part of Greenland gets cut and I can't pan upwards as well.
This issue gets worse, if I resize to the entire size of the wall [14380 x 4015]
I can't pan upwards at all, to see the upper part of Africa. Ideally, I would want to see the same as Case 3 below.
Case 3:
If I instantiate mapbox to the entire size of the wall, at the beginning, without trying to resize, then it seems to work fine.
My guess is that something is glitchy after resizing.
Here is my setup [if it helps]
this.mapboxElement = new mapboxgl.Map({ container: 'map_' + this.id, style: 'mapbox://styles/mapbox/streets-v9', maxZoom: 10, minZoom: 1 });
Also, whenever there is resize event triggered, I call this line
this.mapboxElement.resize();
Hi,
I'm using mapbox-gl on a high resolution ultra-wall. Panning does not work as expected in some scenarios in v0.48.0
Case 1:
This seems to work fine. Only horizontal panning is present.
Case 2:
In this case, after resizing slightly, the topmost part of Greenland gets cut and I can't pan upwards as well.
This issue gets worse, if I resize to the entire size of the wall [14380 x 4015]
I can't pan upwards at all, to see the upper part of Africa. Ideally, I would want to see the same as Case 3 below.
Case 3:
If I instantiate mapbox to the entire size of the wall, at the beginning, without trying to resize, then it seems to work fine.
My guess is that something is glitchy after resizing.
Here is my setup [if it helps]