ArcGIS
- Last UpdatedFeb 27, 2025
- 3 minute read
ArcGIS loads images from an ArcGIS Map Service. Optionally, feature properties can be retrieved on click. You can find the Terms of Use, Master Agreements, and other legal documents pertaining to licensing on the Esri legal website: https://www.esri.com/en-us/legal/overview.
The following table provides the specific configurable options available for this layer:
|
Property |
Type |
Description |
|||||
|---|---|---|---|---|---|---|---|
|
assetNameTemplate [Optional] |
String |
Defines template string to generate each feature asset name which is used to set CurrentAsset control property when clicked. When merge is enabled, the generated asset name is used to match the properties derived from the Features control property. |
|||||
|
cacheSize [Optional] |
Number |
Defines the initial tile cache size. |
|||||
|
crossOrigin [Optional] |
String |
Defines the crossOrigin attribute for loaded images. Set the property to "anonymous", if CORS issues are encountered. For more information, refer https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image. |
|||||
|
popup [Optional] |
popup |
Defines layer popup configuration. |
|||||
|
ratio [Optional] |
Number |
A value 1 indicates image requests matching the size of the map viewport, 2 indicates an image twice the width and height of the viewport, and so on.
|
|||||
|
resolutions [Optional] |
Number[] |
If specified, requests are made only for these resolutions . |
|||||
|
tiled [Optional] |
Boolean |
Gets images in tile mode (small pieces). |
|||||
|
time [Optional] |
TimeOrRange |
Provides time value or range for layers data.
|
|||||
|
getFeatureOnClick [Optional] |
Boolean |
Enables feature information lookup on click (issuing a server request). |
|||||
|
params [Optional] |
ArcGISExportParams |
ArcGIS that exports rest parameters. For more information, refer https://developers.arcgis.com/rest/services-reference/enterprise/export-map.htm Below are the configurable options for ArcGISExportParams:
|
|||||
|
Type |
arcgis |
A type of Layer. |
|||||
|
url |
String |
Defines ArcGIS Rest service URL for a Map Service or Image Service. The url must include /MapServer or /ImageServer. |
|||||
|
Format [Optional] |
String |
Defines the format of the exported image. |
|||||
|
layerDefs [Optional] |
String |
Allows you to filter the features of individual layers in the exported map by specifying definition expressions for those layers. |
|||||
|
layers [Optional] |
String |
Determines which layers appear on the exported map. There are four ways to specify which layers are shown:
|
|||||
|
timeRelation [Optional] |
Allows you to control whether to include or exclude features that are at the beginning or the end of a time window.
|
||||||
|
transparent [Optional] |
Boolean |
If true, the image is exported with the map background color set as transparent color. |
Examples of ArcGIS
Below is an example of ArcGIS layer configuration:
-
Configuration and map preview

-
JSON string configuration
{
"title": "Arcgis world imagery",
"type": "arcgis",
"url": "https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer",
"isBaseMap": true
}