Skip to content

Instantly share code, notes, and snippets.

@odoe
Created September 7, 2015 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save odoe/6f12053b7492d84d500f to your computer and use it in GitHub Desktop.
Save odoe/6f12053b7492d84d500f to your computer and use it in GitHub Desktop.
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