-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3562 from jthomassie/tilemap-select
Changes map type input from radio buttons to select
- Loading branch information
Showing
1 changed file
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
<!-- vis type specific options --> | ||
<div ng-repeat="mapType in vis.type.params.mapTypes"> | ||
<label> | ||
<input type="radio" value="{{mapType}}" ng-model="vis.params.mapType" name="mapType" ng-checked="mapType === vis.params.mapType"> | ||
{{mapType}} | ||
</label> | ||
<div class="form-group"> | ||
<label>Map type</label> | ||
<select | ||
name="agg" | ||
class="form-control" | ||
ng-model="vis.params.mapType" | ||
ng-init="vis.params.mapType || vis.type.params.mapTypes[0]" | ||
ng-options="mapType as mapType for mapType in vis.type.params.mapTypes"> | ||
</select> | ||
</div> | ||
|
||
<div class="vis-option-item"> | ||
</br> | ||
<label> | ||
<input type="checkbox" value="{{isDesaturated}}" ng-model="vis.params.isDesaturated" name="isDesaturated" ng-checked="vis.params.isDesaturated"> | ||
Desaturate map | ||
Desaturate map tiles | ||
</label> | ||
</div> |