Skip to content

Instantly share code, notes, and snippets.

@odoe

odoe/profile.js

Created Sep 7, 2015
Embed
What would you like to do?
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