LIST-LUXEMBOURG / iguess

iGuess 1.0 - The iGuess implementation in Rails
GNU General Public License v3.0
6 stars 0 forks source link

Add "remove" button for layer in upper part of the TOC #47

Closed christianbraun closed 10 years ago

christianbraun commented 10 years ago

Put a button (like a little x-shape) next to the buttons to move the layer up/down which switches off the layer in the upper part to disable visualization. If I want to switch off the layer I have to look it up in the lower part of the cluttered TOC which is not very handy...

uleopold commented 10 years ago

We do not need to remove it but switch off and on a layer.

uleopold commented 10 years ago

The switch was now available but got removed again. I could see it yesterday. Just put the switch button back again.

uleopold commented 10 years ago

It does not work yet correctly. When layer is removed it is not unselected in bottom TOC.

Also, we also wanted here a button which switches off the layer but not removes the layer. So that you can also switch it back on again. So, maybe we can use the current x-shape button as a remove and a check button which switches on an off. See also screenshots from geoportail http://map.geoportal.lu/?lang=en

"Remove Layer" -> should also deselect layer in bottom TOC selection_091

"Switch on/off layer" should only switch off layer in top TOC but keep it selected in bottom TOC. selection_090

ldesousa commented 10 years ago

I added a remove button as requested. A different request should perhaps have its own issue.

uleopold commented 10 years ago

The remove button does not work accordingly. It also needs to deselect the laye rin the bottom TOC.

We will add a new request for the switch on/off button.

ldesousa commented 10 years ago

Since there is already an issue for the on/off request this issue should be closed.