Created
September 7, 2015 13:42
-
-
Save odoe/6f12053b7492d84d500f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
layers: { | |
'dojo/dojo': { | |
boot: true, | |
customBase: true, | |
include: [ | |
// include the app | |
'app/main', | |
// dpendencies of esri/map that will be requested if not included | |
// probably in a nested require block or something the build script can't resolve | |
'dojox/gfx/path', | |
'dojox/gfx/svg', | |
'dojox/gfx/shape', | |
'dojox/xml/parser', | |
'esri/dijit/Attribution', | |
// be sure to include the layer types used in your web map | |
// otherwise they will be requested asyncronously | |
'esri/map', 'esri/dijit/Search', 'esri/layers/FeatureLayer', 'esri/InfoTemplate', 'esri/SpatialReference', 'esri/geometry/Extent', | |
'esri/layers/ArcGISDynamicMapServiceLayer', 'esri/layers/DataSource', 'esri/layers/DynamicLayerInfo', | |
'esri/layers/LayerDrawingOptions' | |
], | |
includeLocales: ['en-us'] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment