global-water-watch / global-water-watch-website

Global Water Watch website
https://www.globalwaterwatch.io/
2 stars 0 forks source link

Prevent duplicate layer errors in map zoom #230

Closed sjoerdbeentjes closed 4 months ago

sjoerdbeentjes commented 4 months ago

Fixes this issue:

Global Water Watch - 24 April 2024 - Watch Video

It throws errors in two situations, either about the layer or the source already existing. After the errors the regions are not shown anymore.

netlify[bot] commented 4 months ago

Deploy Preview for global-water-watch-website ready!

Name Link
Latest commit f003a98f3af7711025949b7e493bc58aae36ec9f
Latest deploy log https://app.netlify.com/sites/global-water-watch-website/deploys/6628effe7117d5000837a6e8
Deploy Preview https://deploy-preview-230--global-water-watch-website.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

sonarcloud[bot] commented 4 months ago

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