|
| 1 | +/*global define */ |
| 2 | +/*jslint sloppy:true */ |
| 3 | +/* |
| 4 | + | Copyright 2014 Esri |
| 5 | + | |
| 6 | + | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | + | you may not use this file except in compliance with the License. |
| 8 | + | You may obtain a copy of the License at |
| 9 | + | |
| 10 | + | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + | |
| 12 | + | Unless required by applicable law or agreed to in writing, software |
| 13 | + | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | + | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | + | See the License for the specific language governing permissions and |
| 16 | + | limitations under the License. |
| 17 | + */ |
| 18 | +define({ |
| 19 | + // When true, the template will query arcgis.com for the webmap item. |
| 20 | + "queryForWebmap": true, |
| 21 | + // When true, the template will query arcgis.com for the group's information. |
| 22 | + "queryForGroupInfo": false, |
| 23 | + // When true, the template will query arcgis.com for the items contained within the group |
| 24 | + "queryForGroupItems": false, |
| 25 | + //When true the template will query arcgis.com for default settings for helper services, units etc. If you |
| 26 | + //want to use custom settings for units or any of the helper services set queryForOrg to false then enter |
| 27 | + //default values for any items you need using the helper services and units properties. |
| 28 | + "queryForOrg": true, |
| 29 | + //If you need localization set the localize value to true to get the localized strings |
| 30 | + //from the javascript/nls/resource files. |
| 31 | + //Note that we've included a placeholder nls folder and a resource file with one error string |
| 32 | + //to show how to setup the strings file. |
| 33 | + "queryForLocale": true, |
| 34 | + // These are the options specified for querying items within the group. Modify these to get more items. You can also call the public template.queryGroupItems() method with these options as a parameter. |
| 35 | + "groupParams": { |
| 36 | + q: "group:\"${groupid}\" AND -type:\"Code Attachment\"", |
| 37 | + "sortField": "modified", |
| 38 | + "sortOrder": "desc", |
| 39 | + "num": 9, |
| 40 | + "start": 0 |
| 41 | + }, |
| 42 | + //This option demonstrates how to handle additional custom url parameters. For example |
| 43 | + //if you want users to be able to specify lat/lon coordinates that define the map's center or |
| 44 | + //specify an alternate basemap via a url parameter. |
| 45 | + "urlItems": [ |
| 46 | + "color","extent", "center", "level" // example param. ?theme=<my theme> |
| 47 | + ], |
| 48 | + // For esri hosted environments only. Will automatically create a sharingurl and proxyurl for the application. |
| 49 | + esriEnvironment: false |
| 50 | +}); |
0 commit comments