Skip to content

Instantly share code, notes, and snippets.



Created Sep 7, 2015
What would you like to do?
layers: {
'dojo/dojo': {
boot: true,
customBase: true,
include: [
// include the app
// 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
// 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',
includeLocales: ['en-us']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment