fgpv-vpgf / contributed-plugins

Free to use but unsupported plugins for FGPV/RAMP2
0 stars 15 forks source link

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

Open MLAuger opened 2 years ago

MLAuger commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

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?