Skip to content

Commit

Permalink
Use onetime binding for basemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvullings committed Aug 28, 2015
1 parent 4cbada7 commit 93874ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions csComp/directives/BaseMapList/BaseMapList.tpl.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div>
<div>
<h4 class="leftpanel-header" translate="MAP"></h4>
<div data-ng-repeat="(key, value) in vm.$mapService.baseLayers" style="clear:left;">
<div ng-click="vm.selectBaseLayer(key);" class="select-basestyle">
<img data-ng-src="{{value.preview}}" class="preview-base-layer" style="margin-bottom:5px" />
<div style="margin:3px;float:left">
<span style="font-size: 18px;font-weight: bold;">{{key}}</span><br />
{{value.subtitle}}
<span style="font-size: 18px;font-weight: bold;">{{::key}}</span><br />
{{::value.subtitle}}
</div>
</div>
</div>
Expand Down

0 comments on commit 93874ee

Please sign in to comment.