At the moment, my map keeps redrawing itself when I overflow the view, as shown in the image here:
https://i.sstatic.net/xpyiP.png
The countries displayed on the map are represented by simple geojson polygons.
However, I want the map to stay fixed and not redraw no matter how much I zoom out.
I have tried adjusting settings like extent
in the view,
minResolution, maxResolution, min-/maxZoom
, but nothing seems to be working.
This is the current configuration for the view (although I have experimented with other options as well):
new View({
center: proj.fromLonLat([6.131935, 49.611622]),
zoom: 4,
projection: 'EPSG:3857',
minZoom: 0,
maxZoom: 19,
minResolution: 1024,
maxResolution: 4096,
extent: proj.get('EPSG:3857').getExtent()
});