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

Chart plugin - When linked feature is removed, the charts still loads when clicking on the second layer #363

Open
MLAuger opened this issue Feb 8, 2022 · 3 comments

Comments

@MLAuger
Copy link
Collaborator

MLAuger commented Feb 8, 2022

In each of my 12 Health Canada curated maps (6 ENG / 6 FR) using the charting tool there is 2 layers (stations and location ranges) The chart is associated with the station layer which is linked to the results table. From which the charts data is taken from.

But when I click on the location range layer, the charts opens. Even when I have remove the station layer from the viewer.

Links to the 6 English maps:
https://ftp.maps.canada.ca/pub/hc_sc/Radioactivity_Radioactivite/Test_Chart/Airborne_radioactivity/chart-index.html
https://ftp.maps.canada.ca/pub/hc_sc/Radioactivity_Radioactivite/Test_Chart/Environmental_dosimetry/chart-index.html
https://ftp.maps.canada.ca/pub/hc_sc/Radioactivity_Radioactivite/Test_Chart/Strontium90_milk/chart-index.html
https://ftp.maps.canada.ca/pub/hc_sc/Radioactivity_Radioactivite/Test_Chart/Tritium_vapour/chart-index.html
https://ftp.maps.canada.ca/pub/hc_sc/Radioactivity_Radioactivite/Test_Chart/Alphabeta_water/chart-index.html
https://ftp.maps.canada.ca/pub/hc_sc/Radioactivity_Radioactivite/Test_Chart/Tritium_water/chart-index.html

image
image
image

@MLAuger
Copy link
Collaborator Author

MLAuger commented Feb 8, 2022

This was caude by having two layer entries in the same layers collection.

By spliting the two entries in two different layers collection, the problem won't happen.

@jolevesq
Copy link
Contributor

@MLAuger When you will have those layer on OpenMaps. To load together, they will neeyd to be both on the service? If so we will have to solve this so you can keep them together. But clicking on station or area and they open, is it a bad thing?

@MLAuger
Copy link
Collaborator Author

MLAuger commented Feb 14, 2022

They are in fact on the same service. The graph on the second layer is not a big issue. I can live with it.

Should I change my configuration in this case to avoid problem with Open Maps?

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

2 participants