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

Bundle openlayers #901

Open
cyberhobo opened this issue Sep 10, 2022 · 0 comments
Open

Bundle openlayers #901

cyberhobo opened this issue Sep 10, 2022 · 0 comments

Comments

@cyberhobo
Copy link
Owner

Discern whether the process introduced in recent docs would be more reliable than the CDN, which failed for at least one version (issue #900).

cyberhobo added a commit that referenced this issue Sep 10, 2022
fixes #900
The CDN for OpenLayers 6.3.1 started throwing this error:
The resource from “https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.3.1/build/ol.js?ver=6.3.1” was blocked due to MIME type (“text/plain”) mismatch (X-Content-Type-Options: nosniff).

A user suggested using version 6.5.0, and that seems to work.
https://wordpress.org/support/topic/openlayers-js-library-not-loaded/#post-15994563

It does seem like openlayers has a build process now that might be better in the long run, made #901 for that.
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