Skip to content

Commit

Permalink
Backport of Update legend on (map resolution) change (b367836)
Browse files Browse the repository at this point in the history
  • Loading branch information
ochriste committed Oct 29, 2018
1 parent 6f94b71 commit 7bd14c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contribs/gmf/src/directives/partials/layertree.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@
{{'Hide legend'|translate}}
</a>
<div ng-if="gmfLayertreeCtrl.isNodeLegendVisible('#gmf-layertree-node-' + layertreeCtrl.uid + '-legend')">
<div ng-repeat="(title, url) in ::gmfLayertreeCtrl.getLegendsObject(layertreeCtrl)">
<p ng-if="::gmfLayertreeCtrl.getNumberOfLegendsObject(layertreeCtrl) > 1">{{title|translate}}</p>
<div ng-repeat="(title, url) in gmfLayertreeCtrl.getLegendsObject(layertreeCtrl)">
<p ng-if="gmfLayertreeCtrl.getNumberOfLegendsObject(layertreeCtrl) > 1">{{title|translate}}</p>
<img ng-src="{{url}}"></img>
</div>
</div>
Expand Down

0 comments on commit 7bd14c0

Please sign in to comment.