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 and add warning for script loader. #1210

Merged
merged 4 commits into from
Apr 18, 2024

Conversation

dbauszus-glx
Copy link
Member

@dbauszus-glx dbauszus-glx commented Apr 17, 2024

The OL version in the default script has been bumped to 9.1

The OL script loader will be added in the mapp script if OL is not already loaded. It doesn't make sense to load the script if already loaded.

mapp.utils.olScript() will call mapp.ol.load() for legacy support.

mapp.ol.current is the current supported version. e.g. 9.1

The mapp module will warn if the loaded version of OL is below the current version.

Screenshot from 2024-04-17 11-48-17

@dbauszus-glx dbauszus-glx added the Code Issues related to the code structure and performance. label Apr 17, 2024
Copy link
Contributor

@simon-leech simon-leech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is working well for me - and like the warning in views!

@RobAndrewHurst
Copy link
Contributor

image

@dbauszus-glx Fixed the warning for if the ol version is bellow what is defined.

@RobAndrewHurst
Copy link
Contributor

Also update the test_view

Copy link

sonarcloud bot commented Apr 18, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@dbauszus-glx dbauszus-glx merged commit 3ec5d92 into GEOLYTIX:main Apr 18, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Issues related to the code structure and performance.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants