Skip to content

Commit

Permalink
Merge pull request #3562 from jthomassie/tilemap-select
Browse files Browse the repository at this point in the history
Changes map type input from radio buttons to select
  • Loading branch information
spalger committed Apr 9, 2015
2 parents d97fe1f + 295e0dd commit b3a9a1f
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/kibana/plugins/vis_types/vislib/editors/tile_map.html
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>

0 comments on commit b3a9a1f

Please sign in to comment.