Open olivierdalang opened 4 years ago
It seems linked to the fact the view is zoomed out first, then only zoomed in and ol tries to render the whole world...
If I set the layer to be hidden, and only set it to visible after zoomed to extends, it fixes the issue (see dirty hack : https://github.com/olivierdalang/ckanext-geoview/commit/4d03b97d5192e331e26e56dcbdf6fae6ff9d6501).
I'll see if the issue is solved with an upgraded version of ol.
Here, on loading, for WMTS resources, the openlayers view freezes ("a web page is slowing down your browser"). The whole browser becomes unresponsive, as if there was some infinite loop or similar issue.
The issue happens both on firefox and chrome. It's not completely systematic though, somethings it works well (seems to work better when I have the debug console open, but doesn't work every time still...). Seems to work better also on initial load (as if having the scripts cached by the browser caused issues).