-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfigurationParams.json
241 lines (241 loc) · 6.83 KB
/
configurationParams.json
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
{
"configurationSettings": [{
"category": "General",
"fields": [{
"type": "paragraph",
"label": "Select a group of layers to display"
}, {
"type": "group",
"label": "Select a group"
}, {
"type": "string",
"fieldName": "title",
"label": "Title",
"tooltip": "Defaults to Layer Showcase"
}, {
"type": "string",
"fieldName": "description",
"label": "Details",
"placeHolder": "Defaults to group description.",
"tooltip": "Enter content for the details panel",
"stringFieldOption": "richtext"
}, {
"type": "boolean",
"fieldName": "createMap",
"label": "Add Create Map button to details"
}, {
"type": "paragraph",
"value": "Switch between 2d and 3d or disable either 2d or 3d display"
}, {
"type": "options",
"fieldName": "displayMode",
"label": "Display mode",
"tooltip": "2d/3d or both",
"options": [{
"label": "Both",
"value": "both"
},
{
"label": "2D Display",
"value": "2d"
},
{
"label": "3D Display",
"value": "3d"
}
]
}, {
"type": "conditional",
"fieldName": "usePortalBasemap",
"label": "Use the default basemap defined in ArcGIS Online/Portal",
"condition": true,
"items": [{
"type": "paragraph",
"value": "Select a web map that contains the base map you want to use as the default."
}, {
"type": "webmap",
"label": "Select a base map",
"optional": true
}]
}, {
"type": "conditional",
"fieldName": "useCustomExtent",
"condition": false,
"label": "Specify a custom start location",
"items": [{
"type": "extentMap",
"fieldName": "customExtent",
"label": "Click and zoom to define the custom center and zoom. When set, the location will appear on the map as a circle and the coordinates and zoom level will be shown below the map."
}]
}]
}, {
"category": "Theme",
"fields": [{
"type": "subcategory",
"label": "Header color theme"
}, {
"type": "color",
"fieldName": "headerBackground",
"tooltip": "Header background color",
"label": "Header background",
"sharedThemeProperty": "header.background"
}, {
"type": "boolean",
"fieldName": "headerBackgroundImage",
"tooltip": "When true header background image is displayed",
"label": "Header background image"
}, {
"type": "color",
"fieldName": "headerColor",
"tooltip": "Header text color",
"label": "Header text color",
"sharedThemeProperty": "header.text"
}, {
"type": "color",
"fieldName": "linkColor",
"tooltip": "Gallery title link color",
"label": "Gallery title color",
"sharedThemeProperty": "body.link"
}, {
"type": "color",
"fieldName": "navButtonColor",
"tooltip": "Navigation arrow color",
"label": "Navigation arrows",
"sharedThemeProperty": "button.background"
}, {
"type": "color",
"fieldName": "navGlobeColor",
"tooltip": "Navigation globe color",
"label": "Navigation globe icon color"
}, {
"type": "color",
"fieldName": "switchButtonColor",
"label": "2d/3d button color",
"tooltip": "2d/3d switch button color"
}, {
"type": "subcategory",
"label": "Panel color theme"
}, {
"type": "color",
"fieldName": "panelBackground",
"tooltip": "Panel body background color",
"label": "Panel background",
"sharedThemeProperty": "body.background"
}, {
"type": "color",
"fieldName": "panelColor",
"tooltip": "Panel body text color",
"label": "Panel text color",
"sharedThemeProperty": "body.text"
}, {
"type": "color",
"fieldName": "panelLink",
"tooltip": "Panel link color",
"label": "Panel link color",
"sharedThemeProperty": "body.link"
}]
}, {
"category": "Options",
"fields": [{
"type": "conditional",
"fieldName": "basemaps",
"tooltip": "Add Basemap gallery to app",
"label": "Add Basemap Gallery",
"condition": false,
"items": [{
"type": "options",
"fieldName": "basemapsPosition",
"label": "Basemap Gallery position",
"tooltip": "Select location for basemap gallery",
"options": [{
"label": "Top right",
"value": "top-right"
}, {
"label": "Top left",
"value": "top-left"
},
{
"label": "Bottom right",
"value": "bottom-right"
},
{
"label": "Bottom left",
"value": "bottom-left"
}
]
}]
}, {
"type": "conditional",
"fieldName": "search",
"tooltip": "Add Search to app",
"label": "Add Search",
"condition": false,
"items": [{
"type": "options",
"fieldName": "searchPosition",
"label": "Search position",
"tooltip": "Select location for the search tool",
"options": [{
"label": "Top right",
"value": "top-right"
}, {
"label": "Top left",
"value": "top-left"
},
{
"label": "Bottom right",
"value": "bottom-right"
},
{
"label": "Bottom left",
"value": "bottom-left"
}
]
}, {
"type": "string",
"fieldName": "searchTerm",
"label": "Default search term",
"tooltip": "Specify a default search term"
}]
}, {
"type": "boolean",
"label": "Add tools to spin globe to 3D map",
"fieldName": "spinGlobe"
},
{
"type": "conditional",
"fieldName": "autoNavScroll",
"label": "Add auto scroll navigtion tools",
"condition": false,
"items": [{
"type": "boolean",
"fieldName": "autoScroll",
"label": "Auto scroll gallery when app loads"
}]
}
]
}],
"values": {
"displayMode": "both",
"headerColor": "#fff",
"createMap": true,
"headerBackground": "#005e95",
"headerBackgroundImage": true,
"switchButtonColor": "#fff",
"navButtonColor": "#56a5d8",
"linkColor": "#eee",
"navGlobeColor": "#fff",
"panelColor": "#4c4c4c",
"panelLink": "#0079c1",
"panelBackground": "#fff",
"spinGlobe": true,
"autoScroll": false,
"autoNavScroll": true,
"usePortalBasemap": false,
"basemaps": true,
"basemapsPosition": "top-left",
"search": true,
"searchPosition": "top-left",
"useCustomExtent": false
}
}