Skip to content

Commit

Permalink
Updated Configurations for new plugins
Browse files Browse the repository at this point in the history
 - Added new plugins (to enable necessary tools)
 - Disable permission editor :wq
  • Loading branch information
offtherailz committed Apr 17, 2020
1 parent 78b2370 commit 9bd2608
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ var MS2_BASE_PLUGINS = {
"name": "TOC",
"cfg": {
"activateMapTitle": false,
"activateSettingsTool": false,
"activateMetedataTool": false,
"activateRemoveLayer": false
}

}, {
},
{
"name": "Settings",
"cfg": {
"wrap": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ var MS2_EDIT_PLUGINS = {
{
"name": "TOC",
"cfg": {
"activateQueryTool": true,
"activateAddLayerButton": true,
"activateMetedataTool": false,
"spatialOperations": [{
"id": "INTERSECTS",
Expand Down Expand Up @@ -50,8 +48,15 @@ var MS2_EDIT_PLUGINS = {
// ZoomAll, ZoomIn, ZoomOut from base
// ScaleBox, FeatureEditor, QueryPanel, MetadataExplorer, GoFull, FullScreen
// Widgets, WidgetsTray, SaveAs, Notifications TOCItemSettings, from map_viewer_plugins

"AddLayer",
"FilterLayer",
"FeatureEditor",
"WidgetsBuilder",
"Save"
{
"name": "Save",
"cfg": {
"disablePermission": true
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ var MS2_MAP_PLUGINS = {
{
"name": "TOC",
"cfg": {
"activateQueryTool": true,
"activateAddLayerButton": true,
"activateMetedataTool": false,
"activateSettingsTool": false,
Expand Down Expand Up @@ -61,6 +60,8 @@ var MS2_MAP_PLUGINS = {
]
}
},
"AddLayer",
"FilterLayer",
"ScaleBox",
// Setting, Toolbar, MapLoading, DrawerMenu, Cookie, OmniBar, Expander,
// Undo, Redo, BurgerMenu, MapFooter, Measure, Print
Expand Down Expand Up @@ -159,7 +160,12 @@ var MS2_MAP_PLUGINS = {
},
"Widgets",
"WidgetsTray",
"SaveAs",
{
"name": "SaveAs",
"cfg": {
"disablePermission": true
}
},
"Notifications",
"Timeline",
"Playback",
Expand Down

0 comments on commit 9bd2608

Please sign in to comment.