hrde-app: remove UTFGrid when corresponding layer is hidden.
Bug #1383729 reported by
Daniele Viganò
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Platform |
Fix Committed
|
High
|
Ben Wyss |
Bug Description
When a layer is hidden in a leaflet application the UTFGrid remains loaded: also the corresponding UTFGrid should be unloaded.
This causes inconsistency between visible layers and mouse clicks on the map.
This happens in (almost) all the leaflet apps with interactivity (i.e. hazus, hrde-app...)
See: https:/
summary: |
- Remove UTFGrid when corresponding layer is hidden + hrde-app: Remove UTFGrid when corresponding layer is hidden |
description: | updated |
Changed in oq-platform: | |
importance: | Medium → High |
summary: |
- hrde-app: Remove UTFGrid when corresponding layer is hidden + hrde-app: Remove UTFGrid when corresponding layer is hidden. |
summary: |
- hrde-app: Remove UTFGrid when corresponding layer is hidden. + hrde-app: remove UTFGrid when corresponding layer is hidden. |
Changed in oq-platform: | |
status: | Confirmed → Fix Committed |
Changed in oq-platform: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
A bug occurs when: map-eu- as-sa01- 002" - hazard map layer
- add "hazard-
- add "shallow crust" - Input models layer
- close Hazard Data window
- disable "shallow crust" from layers list
=> hazard data fall into the Plot window
Note: the same logic (disable window associated with a layer when layer is turned off) must be extended to the other type of layers.