WebMap
- Last UpdatedFeb 27, 2025
- 2 minute read
This layer loads the basemaps and operational layers configured in an ArcGIS WebMap including the layer styling overrides.
The following are the supported types for basemap layers:
-
VectorTileLayer
-
ArcGISTiledImageServiceLayer
-
ArcGISTiledMapServiceLayer
The following are the supported types for operational layers:
-
ArcGISFeatureLayer
This type of layer is mostly used to support some Esri basemaps that are comprised of multiple layers. For example:
It can also load preconfigured Esri WebMaps including basemaps and operational layers. For example:
-
Accidental Deaths by State
You can find Terms of Use, Master Agreements, and all 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 |
|---|---|---|
|
Time [Optional] |
TimeOrRange |
The time instant or time extent to be used for time-enabled feature layers.
|
|
type |
webmap |
A type of Layer. |
|
url |
String |
Defines WebMap JSON configuration URL (https://www.arcgis.com/sharing/rest/content/items/{id}/data?f=json). |
Examples of WebMap
Below are two examples of WebMap URLs:
Dark Gray WebMap
-
Configuration and map preview

-
JSON string configuration
{
"title": "Dark gray webmap",
"type": "webmap",
"url": " https://www.arcgis.com/sharing/rest/content/items/efaabeb0ad0/data?f=json",
"isBaseMap": true
}
Light Gray WebMap
-
Configuration and map preview

-
JSON string configuration
{
"title": "Dark light webmap",
"type": "webmap",
"url": "https://www.arcgis.com/sharing/rest/content/items/eeffec0affbfdcc/data?f=json",
"isBaseMap": true
}