Skip to content

Commit

Permalink
add examples of custom titles, layerTypes and widgetTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcgee committed Apr 19, 2016
1 parent 357d924 commit 3bba918
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions viewer/js/config/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ define([
zoom: 5,
sliderStyle: 'small'
},

// panes: {
// left: {
// splitter: true
Expand Down Expand Up @@ -81,6 +82,29 @@ define([
// },
// collapseButtonsPane: 'center', //center or outer

// custom titles
/*
titles: {
header: 'My App',
subHeader: 'My GIS App is the best!',
pageTitle: 'My App'
},
*/

// user-defined layer types
/*
layerTypes: {
myCustomLayer: 'widgets/MyCustomLayer'
},
*/

// user-defined widget types
/*
widgetTypes: [
'myWidgetType'
],
*/

// operationalLayers: Array of Layers to load on top of the basemap: valid 'type' options: 'dynamic', 'tiled', 'feature'.
// The 'options' object is passed as the layers options for constructor. Title will be used in the legend only. id's must be unique and have no spaces.
// 3 'mode' options: MODE_SNAPSHOT = 0, MODE_ONDEMAND = 1, MODE_SELECTION = 2
Expand Down

0 comments on commit 3bba918

Please sign in to comment.