Skip to content

Commit

Permalink
Enable feature grid (#1395)
Browse files Browse the repository at this point in the history
* Update the configuration to enable feature grid

 - updates the configuration to include feature grid/search by default

* Deactivate query tool by default

Feature Grid is not mandatory, so the query tool should not be enabled by default.
  • Loading branch information
offtherailz authored Jan 20, 2017
1 parent ad275ba commit 1cf334b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion web/client/localConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"collapsible": false
},
"excludeOptions": [
"search",
"links",
"allowedSRS",
"title",
Expand Down Expand Up @@ -317,9 +318,15 @@
}
}, {
"name": "Home"
},{
"name": "FeatureGrid",
"cfg": {
"pagination": true
}
}, {
"name": "TOC",
"cfg": {
"activateQueryTool": true,
"visibilityCheckType": "glyph",
"settingsOptions": {
"includeCloseButton": false,
Expand Down Expand Up @@ -611,6 +618,7 @@
"marginBottom": 0
},
"excludeOptions": [
"search",
"links",
"allowedSRS",
"title",
Expand Down Expand Up @@ -651,7 +659,7 @@
"alwaysVisible": true
}
}
}, "FeatureGrid", {
}, {
"name": "TOC",
"cfg": {
"visibilityCheckType": "glyph",
Expand Down
2 changes: 1 addition & 1 deletion web/client/plugins/TOC.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const LayerTree = React.createClass({
activateZoomTool: true,
activateSettingsTool: true,
activateRemoveLayer: true,
activateQueryTool: true,
activateQueryTool: false,
visibilityCheckType: "checkbox",
settingsOptions: {},
querypanelEnabled: false
Expand Down

0 comments on commit 1cf334b

Please sign in to comment.