camptocamp / ngeo

Library combining OpenLayers and AngularJS
https://camptocamp.github.io/ngeo/master/examples
MIT License
135 stars 87 forks source link

Legend button #3258

Closed svaabs closed 6 years ago

svaabs commented 6 years ago

In the layer tree code I found a legend button called .gmf-layertree-legend-button (see https://github.com/camptocamp/ngeo/blob/master/contribs/gmf/src/directives/partials/layertree.html#L180-L187) which seems to do the same thing as the legend button within the extra actions (see https://github.com/camptocamp/ngeo/blob/master/contribs/gmf/src/directives/partials/layertree.html#L139-L145). The difference is that the one in the extra actions is displayed and the other not, what is a pity since it is more userfrendly (directly clickable). My question now is: What is the legend button (.gmf-layertree-legend-button) for, respectively is it possible to disable the legend button within the extra action and only enable the other legend button?

Project:

sbrunner commented 6 years ago

Should be reported on Jira as support issue