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

Update OpenLayers version #902

Merged
merged 1 commit into from
Sep 10, 2022
Merged

Conversation

cyberhobo
Copy link
Owner

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.

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.
@cyberhobo cyberhobo merged commit 6bad1d1 into develop Sep 10, 2022
@cyberhobo cyberhobo deleted the bugfix/900-openlayers-source-gone branch September 10, 2022 03:19
@cyberhobo cyberhobo added this to the 1.13.7 milestone Sep 10, 2022
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

Successfully merging this pull request may close these issues.

openlayers js library not loaded
1 participant