11define ( {
2- //Default configuration settings for the applciation. This is where you"ll define things like a bing maps key,
3- //default web map, default app color theme and more. These values can be overwritten by template configuration settings
4- //and url parameters.
5- "appid" : "" ,
6- "webmap" : "df8bcc10430f48878b01c96e907a1fc3" ,
7- "oauthappid" : null ,
8- //Enter the url to the proxy if needed by the applcation. See the "Using the proxy page" help topic for details
9- //developers.arcgis.com/en/javascript/jshelp/ags_proxy.html
10- "proxyurl" : "" ,
11- //Example of a template specific property. If your template had several color schemes
12- //you could define the default here and setup configuration settings to allow users to choose a different
13- //color theme.
14- "title" : "" ,
15- "summary" : "" ,
16- "defaultPanel" : "legend" ,
17- "enableDialogModal" : false ,
18- "dialogModalContent" : "" ,
19- "dialogModalTitle" : "" ,
20- "enableSummaryInfo" : true ,
21- "enableLegendPanel" : true ,
22- "enableAboutPanel" : true ,
23- "enableLayersPanel" : true ,
24- "enableHomeButton" : true ,
25- "enableLocateButton" : true ,
26- "enableBasemapToggle" : true ,
27- "enableShareDialog" : true ,
28- "enableBookmarks" : true ,
29- "enableOverviewMap" : true ,
30- "openOverviewMap" : false ,
31- "enableModifiedDate" : true ,
32- "enableViewsCount" : true ,
33- "enableMoreInfo" : true ,
34- "defaultBasemap" : "topo" ,
35- "nextBasemap" : "hybrid" ,
36- "swipeType" : "vertical" ,
37- "swipeInvertPlacement" : true ,
38- "hideNotesLayerPopups" : true ,
39- "enableInstagram" : true ,
40- "instagramVisible" : false ,
41- "instagramTime" : "" ,
42- "enableFlickr" : true ,
43- "flickrVisible" : false ,
44- "flickrSearch" : "" ,
45- "flickrTime" : "" ,
46- "enableTwitter" : true ,
47- "twitterVisible" : false ,
48- "twitterSearch" : "" ,
49- "enableWebcams" : true ,
50- "webcamsVisible" : false ,
51- "enableYouTube" : true ,
52- "youtubeVisible" : false ,
53- "youtubeSearch" : "" ,
54- "youtubeTime" : "all_time" , // today, this_week, this_month, all_time
55- "bitlyLogin" : "esri" ,
56- "bitlyKey" : "R_65fd9891cd882e2a96b99d4bda1be00e" ,
57- "twitterUrl" : location . protocol + "//utility.arcgis.com/tproxy/proxy/1.1/search/tweets.json" ,
58- "twitterSigninUrl" : location . protocol + "//utility.arcgis.com/tproxy/signin" ,
59- "flickr_key" : "404ebea7d5bc27aa5251d1207620e99b" ,
60- "webcams_key" : "65939add1ebe8bc9cc4180763f5df2ca" ,
61- "instagram_key" : "288c36a1a42c49de9a2480a05d054619" ,
62- "youtube_key" : "AI39si5AmNrzX3VKNKo4Kcet9BVemrvyjl4B13ezBbNLsvKOlw9Vh3eL_57dZ2vC6M9PwV9i3bHm6emtZLr_BhQ8qtnTbvwzCw" ,
63- /*
2+ //Default configuration settings for the applciation. This is where you"ll define things like a bing maps key,
3+ //default web map, default app color theme and more. These values can be overwritten by template configuration settings
4+ //and url parameters.
5+ "appid" : "" ,
6+ "webmap" : "df8bcc10430f48878b01c96e907a1fc3" ,
7+ "oauthappid" : null ,
8+ //Enter the url to the proxy if needed by the applcation. See the "Using the proxy page" help topic for details
9+ //developers.arcgis.com/en/javascript/jshelp/ags_proxy.html
10+ "proxyurl" : "" ,
11+ //Example of a template specific property. If your template had several color schemes
12+ //you could define the default here and setup configuration settings to allow users to choose a different
13+ //color theme.
14+ "title" : "" ,
15+ "summary" : "" ,
16+ "defaultPanel" : "legend" ,
17+ "enableDialogModal" : false ,
18+ "dialogModalContent" : "" ,
19+ "dialogModalTitle" : "" ,
20+ "enableSummaryInfo" : true ,
21+ "enableLegendPanel" : true ,
22+ "enableAboutPanel" : true ,
23+ "enableLayersPanel" : true ,
24+ "enableHomeButton" : true ,
25+ "enableLocateButton" : true ,
26+ "enableBasemapToggle" : true ,
27+ "enableShareDialog" : true ,
28+ "enableBookmarks" : true ,
29+ "enableOverviewMap" : true ,
30+ "openOverviewMap" : false ,
31+ "enableModifiedDate" : true ,
32+ "enableViewsCount" : true ,
33+ "enableMoreInfo" : true ,
34+ "defaultBasemap" : "topo" ,
35+ "nextBasemap" : "hybrid" ,
36+ //Go to http://www.arcgis.com/sharing/rest/content/items/df8bcc10430f48878b01c96e907a1fc3/data?f=pjson and input below the appropriate operational layer that you want to configure as swipe layer
37+ "swipeLayer" : {
38+ "fields" : [ ] ,
39+ "id" : ""
40+ } ,
41+ "swipeType" : "vertical" ,
42+ "swipeInvertPlacement" : true ,
43+ "hideNotesLayerPopups" : true ,
44+ "enableInstagram" : true ,
45+ "instagramVisible" : false ,
46+ "instagramTime" : "" ,
47+ "enableFlickr" : true ,
48+ "flickrVisible" : false ,
49+ "flickrSearch" : "" ,
50+ "flickrTime" : "" ,
51+ "enableTwitter" : true ,
52+ "twitterVisible" : false ,
53+ "twitterSearch" : "" ,
54+ "enableWebcams" : true ,
55+ "webcamsVisible" : false ,
56+ "enableYouTube" : true ,
57+ "youtubeVisible" : false ,
58+ "youtubeSearch" : "" ,
59+ "youtubeTime" : "all_time" , // today, this_week, this_month, all_time
60+ "bitlyLogin" : "esri" ,
61+ "bitlyKey" : "R_65fd9891cd882e2a96b99d4bda1be00e" ,
62+ "twitterUrl" : location . protocol + "//utility.arcgis.com/tproxy/proxy/1.1/search/tweets.json" ,
63+ "twitterSigninUrl" : location . protocol + "//utility.arcgis.com/tproxy/signin" ,
64+ "flickr_key" : "404ebea7d5bc27aa5251d1207620e99b" ,
65+ "webcams_key" : "65939add1ebe8bc9cc4180763f5df2ca" ,
66+ "instagram_key" : "288c36a1a42c49de9a2480a05d054619" ,
67+ "youtube_key" : "AI39si5AmNrzX3VKNKo4Kcet9BVemrvyjl4B13ezBbNLsvKOlw9Vh3eL_57dZ2vC6M9PwV9i3bHm6emtZLr_BhQ8qtnTbvwzCw" ,
68+ /*
6469 "bannedUsersService": location.protocol + "//services.arcgis.com/QJfoC7c7Z2icolha/ArcGIS/rest/services/fai/FeatureServer/2",
6570 "bannedWordsService": location.protocol + "//tmservices1.esri.com/ArcGIS/rest/services/SharedTools/Filter/MapServer/1",
6671 "flagMailServer": location.protocol + "//tmappsevents.esri.com/Website/pim_fai/fai.php",
6772 */
68- //Enter the url to your organizations bing maps key if you want to use bing basemaps
69- "bingmapskey" : "" ,
70- //Defaults to arcgis.com. Set this value to your portal or organization host name.
71- "sharinghost" : location . protocol + "//" + "www.arcgis.com" ,
72- //When true the template will query arcgis.com for default settings for helper services, units etc. If you
73- "units" : null ,
74- "helperServices" : {
75- "geometry" : {
76- "url" : null
77- } ,
78- "printTask" : {
79- "url" : null
80- } ,
81- "elevationSync" : {
82- "url" : null
83- } ,
84- "geocode" : [ {
85- "url" : null
73+ //Enter the url to your organizations bing maps key if you want to use bing basemaps
74+ "bingmapskey" : "" ,
75+ //Defaults to arcgis.com. Set this value to your portal or organization host name.
76+ "sharinghost" : location . protocol + "//" + "www.arcgis.com" ,
77+ //When true the template will query arcgis.com for default settings for helper services, units etc. If you
78+ "units" : null ,
79+ "helperServices" : {
80+ "geometry" : {
81+ "url" : null
82+ } ,
83+ "printTask" : {
84+ "url" : null
85+ } ,
86+ "elevationSync" : {
87+ "url" : null
88+ } ,
89+ "geocode" : [ {
90+ "url" : null
8691 } ]
87- }
88- } ) ;
92+ }
93+ } ) ;
0 commit comments