-
Notifications
You must be signed in to change notification settings - Fork 51
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
Typo in Map Layout Basemaps [BUG] #998
Comments
Similar bug found: Javascript console output: |
…lled basemap names, and if all provided basemap names are misspelled, a default one is added to the map
…p layers list. Now throws warnings in console for unsupported map layer names provided.
* bug fix for issue #998 for basemap layers with typos, or empty basemap layers list. Now throws warnings in console for unsupported map layer names provided. * Update tethys_gizmos/static/tethys_gizmos/js/tethys_map_view.js --------- Co-authored-by: Nathan Swain <[email protected]>
Describe the bug
A typo in the Map Layout class's basemaps attribute leads to that layer and any proceeding layer to not load.
To Reproduce
Steps to reproduce the behavior:
basemaps = ["OpenStreetMap", "ERSI"]
Note: the correct line to add for a working page would be
basemaps = ["OpenStreetMap", "ESRI"]
Expected behavior
What I would expect is for the misspelled error to be skipped over, rather than taking down every proceeding layer with it.
Errors/Traceback
JavaScript Console Output:
Tethys Log Output was empty.
Screenshots
If applicable, add screenshots to help explain your problem.
Working:
Broken:
Tethys Environment Information
Using a slight variation of the Docker Compose file
The text was updated successfully, but these errors were encountered: