Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freeze of the openlayers geoview page for WMTS layers #70

Open
olivierdalang opened this issue Feb 24, 2020 · 1 comment
Open

Freeze of the openlayers geoview page for WMTS layers #70

olivierdalang opened this issue Feb 24, 2020 · 1 comment

Comments

@olivierdalang
Copy link

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).

olivierdalang added a commit to olivierdalang/ckanext-geoview that referenced this issue Feb 24, 2020
@olivierdalang
Copy link
Author

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 : olivierdalang@4d03b97).

I'll see if the issue is solved with an upgraded version of ol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant