Description
(Added at v3.8)
The default values for all JS API configuration options.
When coding legacy (non-AMD) style, there is no need to require the module. All methods and properties are available in the namespace. For example,
esri.config
and
esri.config.defaults.io.useCors
.
See also
Samples
Search for
samples that use this class.
Properties
defaults | Object | ArcGIS JavaScript API default configurations that can be overridden programmatically. |
Property Details
ArcGIS JavaScript API default configurations that can be overridden programmatically. For details, see
Default API configurations.
Object Specifications: <defaults
>
<GeometryService > geometryService |
Optional |
Default: null |
<Object > io |
Optional |
|
<String > kmlService |
Optional |
Default: null |
<Object > map |
Optional |
|
<Object > workers |
Optional |
The AMD loader's configuration object, which is loaded with each worker. Modify the configuration to specify locations of packages to be loaded with workers or to define a feature detection. The configuration parameters for workers. See Default API Configurations.
property |
type |
description |
|
loaderConfig |
Object
|
property |
type |
description |
|
has |
Object |
Determines if the specified feature capabilities are supported. |
paths |
Object |
Map of module id fragments to file paths. |
map |
Object |
Map paths in module identifiers to different paths. |
packages |
Object |
An array of objects which provide the package name and its location. |
|