Interface EsriConfig

Configure global properties of the library.

Read more...

Hierarchy

  • EsriConfig

Properties

apiKey: string

An authorization string used to access a resource or service.

Read more...

assetsPath: string

Overrides the URL for loading the API assets when using local builds of the @arcgis/core and arcgis-js-api NPM packages.

Default

"https://js.arcgis.com/[4.x]/@arcgis/core/assets"

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#assetsPath)
fontsUrl: string

The URL for font resources used by the Font class in FeatureLayer and CSVLayer labels.

Default

"https://static.arcgis.com/fonts"

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#fontsUrl)
geoRSSServiceUrl: string

The URL for the utility service used by GeoRSSLayer to convert GeoRSS documents.

Default

"https://utility.arcgis.com/sharing/rss"

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#geoRSSServiceUrl)
geometryServiceUrl: string

The default geometryService used by widgets and other operations, such as on-the-fly projections.

Default

"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer"

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#geometryServiceUrl)
kmlServiceUrl: string

The URL for the utility service used by KMLLayer to convert KML documents.

Default

"https://utility.arcgis.com/sharing/kml"

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#kmlServiceUrl)
log: configLog

An object with properties that control various aspects of log messages.

Read more...

portalUrl: string

The default URL of new portal instances.

Default

"https://www.arcgis.com"

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#portalUrl)
request: configRequest

An object with properties that control various aspects of communication between the library and web servers.

Read more...

routeServiceUrl: string

The default routing service used by the RouteLayer and the Directions widget.

Default

"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World"

[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#routeServiceUrl)
workers: configWorkers

An object with properties that control various aspects of the workers framework.

Read more...

Generated using TypeDoc