gem / oq-platform

DEPRECATED. Please refer to https://github.com/gem/oq-platform2
8 stars 3 forks source link

HRDE: manage supplemental layers through the "Layer Manager" widget #577

Closed ptormene closed 8 years ago

ptormene commented 8 years ago

Thanks to these changes, supplemental layers can be managed through the "Layer Manager" widget, together with the other layers. Therefore, once they have been added to the map, they can be shown/hidden through checkboxes and they can be moved towards the top or bottom of the stack of layers.

Fixes https://github.com/gem/oq-platform/issues/567 Fixes https://github.com/gem/oq-platform/issues/525 (the solution is still sub-optimal, but it is probably acceptable as it is)

Before this PR, supplemental layers were managed outside the hrde app, although they were used only by hrde. So I moved the corresponding code inside.

Tests are running: https://ci.openquake.org/job/zdevel_oq-platform/247/

nastasi-oq commented 8 years ago

LGTM