Closed svaabs closed 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:
Should be reported on Jira as support issue
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: