-
Notifications
You must be signed in to change notification settings - Fork 51
/
configuration_panel.js
185 lines (185 loc) · 6.03 KB
/
configuration_panel.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
{
"configurationSettings": [{
"category": "<b>General</b>",
"fields": [{
"type": "webmap",
"label": "Select a map"
}]
}, {
"category": "<b>General Settings</b>",
"fields": [{
"type": "string",
"fieldName": "theme",
"tooltip": "Color theme to use",
"label": "Color Scheme:",
"options": [{
"label": "Blue",
"value": "blue"
}, {
"label": "Gray",
"value": "gray"
}, {
"label": "Green",
"value": "green"
}, {
"label": "Orange",
"value": "orange"
}, {
"label": "Purple",
"value": "purple"
}]
}, {
"type": "boolean",
"fieldName": "displaytitle",
"label": "Show Title",
"tooltip": ""
}, {
"type": "string",
"fieldName": "title",
"label": "Title Text:",
"tooltip": "",
"placeHolder": "Defaults to map name"
}, {
"type": "string",
"fieldName": "customlogoimage",
"tooltip": "Url for image",
"placeHolder": "URL to image",
"label": "Logo on map:"
}, {
"type": "boolean",
"fieldName": "displayoverviewmap",
"label": "Include Overview Map",
"tooltip": ""
}]
}, {
"category": "<b>Menu Items</b>",
"fields": [ {
"type": "boolean",
"fieldName": "displaylegend",
"label": "Legend *",
"tooltip": ""
}, {
"type": "boolean",
"fieldName": "displaydetails",
"label": "Details *",
"tooltip": ""
}, {
"type": "boolean",
"fieldName": "displayeditor",
"label": "Editor *",
"tooltip": "Display editor if web map contains feature service layer"
}, {
"type": "boolean",
"fieldName": "displayeditortoolbar",
"label": "Editor Toolbar",
"tooltip": "Display the optional editor toolbar when the editor is enabled."
}, {
"type": "boolean",
"fieldName": "displaytimeslider",
"label": "Time Slider *",
"tooltip": "Display time slider for time enabled web map"
}, {
"type": "boolean",
"fieldName": "displayprint",
"label": "Print",
"tooltip": ""
}, {
"type": "boolean",
"fieldName": "displaylayerlist",
"label": "Layer List *",
"tooltip": ""
}, {
"type": "boolean",
"fieldName": "displaybasemaps",
"label": "Basemaps",
"tooltip": ""
}, {
"type": "boolean",
"fieldName": "displaybookmarks",
"label": "Bookmarks",
"tooltip": "Display the read-only bookmarks contained in the web map."
}, {
"type": "boolean",
"fieldName": "displaymeasure",
"label": "Measure",
"tooltip": ""
}, {
"type": "boolean",
"fieldName": "displayshare",
"label": "Share",
"tooltip": ""
}, {
"type": "boolean",
"fieldName": "displaysearch",
"label": "Search",
"tooltip": ""
}, {
"type": "boolean",
"fieldName": "searchextent",
"label": "Search for locations within current extent",
"tooltip": "Search for locations only within the current extent"
}, {
"type": "paragraph",
"value": "* These menu items will appear in the application when the web map has layers that require them."
}]
}, {
"category":"<b>Map Widgets</b>",
"fields":[
{
"type":"paragraph",
"value":"Add one or more of the following widgets to the map."
},
{
"type":"boolean",
"fieldName":"home",
"label":"Full extent button"
},
{
"type":"boolean",
"fieldName":"locate",
"label":"Location button"
}
]
},{
"category": "<b>Print Settings</b>",
"fields": [{
"type": "boolean",
"fieldName": "displayprintlegend",
"label": "Display Legend on Printout",
"tooltip": ""
}, {
"type": "boolean",
"fieldName": "printlayout",
"tooltip": "Display all print layouts",
"label": "Layout:"
}, {
"type": "string",
"fieldName": "printformat",
"tooltip": "Specify the output format",
"label": "Format:"
}, {
"type": "paragraph",
"value": "Define print settings for the print service. When Layout is true all available print layout templates will be displayed in the pick list. View the rest services directory for the print service to see a list of valid layout and format options."
}]
}],
"values": {
"theme": "gray",
"searchextent": false,
"displaymeasure": true,
"displayshare": true,
"displayoverviewmap": true,
"displayeditor": true,
"displayeditortoolbar": false,
"displaytimeslider": true,
"displayprintlegend": false,
"displayprint": true,
"displaysearch": true,
"displaylegend": true,
"displaydetails": true,
"displaylayerlist": true,
"displaybasemaps": true,
"home": true,
"locate": true,
"printlayout": false
}
}