Skip to content

Commit

Permalink
fixing desaturation option
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar authored and thomasneirynck committed Jul 4, 2017
1 parent 8d61033 commit f844475
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core_plugins/tile_map/public/editors/tile_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<label>
<input type="checkbox"
name="isDesaturated"
ng-disabled="!vis.type.params.canDesaturate"
ng-disabled="!vis.type.visConfig.canDesaturate"
ng-model="vis.params.isDesaturated">

Desaturate map tiles
Expand Down
1 change: 1 addition & 0 deletions src/core_plugins/tile_map/public/tile_map_vis.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ VisTypesRegistryProvider.register(function TileMapVisType(Private, getAppState,
description: 'Plot latitude and longitude coordinates on a map',
category: CATEGORY.MAP,
visConfig: {
canDesaturate: true,
defaults: {
mapType: 'Scaled Circle Markers',
isDesaturated: true,
Expand Down

0 comments on commit f844475

Please sign in to comment.