-
Notifications
You must be signed in to change notification settings - Fork 13
Core map properties (extent sets, levels of detail).
"map": {
"extentSets": [
{
extentSetNode
},
{...},
{...},
...
],
"lodSets": [
{
lodSetNode
},
{...},
{...}
...
],
"tileSchemas": [
{
tileSchemaNode
},
{...},
{...}
...
],
"components": {
"mouseInfo": {
"enabled": ...,
"spatialReference": {...}
},
"northArrow": {
"enabled": ...,
"arrowIcon": ...,
"poleIcon": ...
},
"overviewMap": {
"enabled": ...,
"expandFactor": ...
},
"scaleBar": {
"enabled": ...
},
"basemap": {
"enabled": ...
}
},
"initialBasemapId": ...,
"baseMaps": [
{
baseMapNode
},
{...},
{...}
...
],
"layers": [
{
layerNode
},
{...},
{...}
...
],
"legend": { 🚧 }
}
{
"text": {
"enabled": ...
"value": ...
},
"logo": {
"enabled": ...
"altText": ...
"value": ...
"link": ...
}
}
{
"id": ...,
"spatialReference": {
"wkid": ...
},
"default": {...},
"full": {...},
"maximum": {...}
}
{
"xmin": {
"ymin": {
"xmax": {
"ymax": {
"spatialReference": {
"wkid": ...
},
}
{
"opacity": ...,
"visibility": ...,
"boundingBox": ...,
"query": ...,
"snapshot": ...,
"hovertips": ...,
}
{
"id": ...,
"lods": [
{
"level": ...,
"resolution": ...,
"scale": ...
},
{...},
{...},
...
]
}
{
"id": ...,
"name": ...,
"extentSetId": ...,
"lodSetId": ...,
"overviewUrl": {
"layerType": ...,
"url": ...
}
}
{
"id": ...,
"name": ...,
"description": ...,
"typeSummary": ...,
"altText": ...,
"thumbnailUrl": ...,
"tileSchemaId": ...,
"layers": [
{
"id": ...,
"layerType": ...,
"url": ...
},
{...},
{...}
],
"attribution": ...,
}
}
[
{
basicLayerNode
OR
featureLayerNode
OR
wmsLayerNode
OR
dynamicLayerNode
},
{...},
{...}
]
{
"id": ...,
"name": ...,
"url": ...,
"refreshInterval": ...,
"metadataUrl": ...,
"catalogueUrl": ...,
"layerType": ...,
"extent": {...},
"controls": {...},
"disabledControls": {...},
"state": {...}
}
{
"id": ...,
"name": ...,
"url": ...,
"refreshInterval": ...,
"metadataUrl": ...,
"catalogueUrl": ...,
"layerType": ...,
"toggleSymbology": {...},
"tolerance": {...},
"extent": {...},
"controls": {...},
"disabledControls": {...},
"state": {...}
"table": {...}
}
{
"id": ...,
"name": ...,
"url": ...,
"refreshInterval": ...,
"metadataUrl": ...,
"catalogueUrl": ...,
"layerType": ...,
"featureInfoMimeType": ...,
"legendMimeType": ...,
"layerEntries": [
{
wmsLayerEntryNode
},
{...},
{...}
],
"extent": {...},
"controls": {...},
"disabledControls": {...},
"state": {...}
}
{
"id": ...,
"name": ...,
"allStyles": [...],
"currentStyle": ...,
"controls": {...},
"state": {...}
}
{
"id": ...,
"name": ...,
"url": ...,
"refreshInterval": ...,
"metadataUrl": ...,
"catalogueUrl": ...,
"layerType": ...,
"toggleSymbology": ...,
"tolerance": ...,
"singleEntryCollapse": ...,
"imageFormat": ...,
"layerEntries": [
{
dynamicLayerEntryNode
},
{...},
{...}
],
"extent": {...},
"controls": {...},
"disabledControls": {...},
"state": {...}
}
{
"index": ...,
"name": ...,
"outfields": ...,
"stateOnly": ...,
"extent": {...},
"controls": {...},
"state": {...}
"table": {...}
}
Core map properties (extent sets, levels of detail).
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Extents and Levels of Details | - | - |
The default, full and maximum extents of the map. |
| Type | Author section | Advance | Required |
|---|---|---|---|
| array | Map/Extents and Levels of Details | - | - |
The levels of detail (zoom scales) available for the map.
| Type | Author section | Advance | Required |
|---|---|---|---|
| array | Map/Extents and Levels of Details | - | Yes |
A unique combination of an LoD and an extent set (each basemap must fit into a tile schema).
| Type | Author section | Advance | Required |
|---|---|---|---|
| array | Map/Extents and Levels of Details | Yes | Yes |
Map components.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Components | - | - |
Display cursor coordinates at the bottom of the screen.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Components | - | - |
Enabling mouse information at the bottom of the screen.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| boolean | - | true |
Map/Components | - | - |
Coordinates system and projection used to retrieve localization info from the mouse cursor. For more info see node:
spatialReference_
Everything about the North arrow
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Components | - | - |
The graphical icon url/data url of the north arrow.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "data:image/png;base64,image encoded" |
Map/Components | - | - |
The graphical icon url/data url of the north pole that replaces north arrow when it's on north pole.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "data:image/png;base64,image encoded" |
Map/Components | - | - |
Enabling North arrow.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| boolean | true | true |
Map/Components | - | - |
Collapsable overview map.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Components | - | - |
| Name | Type | Description | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|---|---|
| overviewMap : enabled | boolean | - | true |
Map/Components | - | - | |
| overviewMap : expandFactor | number | 2 |
5 |
true |
Map/Components | - |
Scale bar.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Components | - | - |
| Name | Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|---|
| scaleBar : enabled | boolean | - | true |
Map/Components | - | - |
Collapsable overview map.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Components | - | - |
| Name | Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|---|
| basemap : enabled | boolean | - | true |
Map/Components | - | - |
Initial basemap to load. If not supplied viewer will select any basemap.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | Viewer choice |
"myBaseMapID" |
Map/Basemaps | - | - |
Nodes are objects that are part of other object definition
Attribution text information.
| Name | Type | Description | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|---|---|
| enabled | boolean | - | true |
"true" |
Map/Basemaps | Yes | Yes |
| value | string | Optional. Contains the attribution value. If empty, it will use copyright text from the server. | - |
- |
Map/Basemaps | Yes | Yes |
Attribution logo.
| Name | Type | Description | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|---|---|
| enabled | boolean | - | true |
true |
Map/Basemaps | Yes | Yes |
| value | string | URL for the image. | - |
"https://path2Image/myAttributionLogo.png" |
Map/Basemaps | Yes | Yes |
| altText | string | Alternate text for the image. | - |
"Attribution is here !" |
Map/Basemaps | Yes | Yes |
| link | string | URL to go to when clicked. | - |
http://www.canada.ca" |
Map/Basemaps | Yes | Yes |
Extents set id.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - |
"EXT_Lambert_3978" |
Map/Extents and Levels of Details | - | Yes |
The default (starting) extent. For more info see node:extentNode.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Extents and Levels of Details | - | - |
The full extent (should give good view of the whole map, not necessarily the maximum extent); default will be used if not supplied. For more info see node:extentNode.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Extents and Levels of Details | - | - |
The maximum extent; full or default extents will be used if not supplied. For more info see node:extentNode.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Extents and Levels of Details | - | - |
Projection
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map | - | - |
Well-known identifier.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - |
3978 |
Map | - | - |
Level of details Set id.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - |
"LOD_Lambert_3978" |
Map/Extents and Levels of Details | Yes | Yes |
Level of details for a specific tile schema.
| Type | Author section | Advance | Required |
|---|---|---|---|
| array | Map/Extents and Levels of Details | Yes | Yes |
A sequential integer that identify a level.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| number | - |
3 |
Map/Extents and Levels of Details | Yes | Yes |
The smallest spaces between two display elements expressed in map unit of the corresponding projection.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| number | - |
38364.660062653464 |
Map/Extents and Levels of Details | Yes | Yes |
Ratio between distance measure on a map and the corresponding distance on the ground.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| number | - |
145000000 |
Map/Extents and Levels of Details | Yes | Yes |
A unique id identifying a tile schema (combination of an extent set and a zoom scale).
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - |
"EXT_Lambert_3978#LOD_Lambert_3978" |
Map/Extents and Levels of Details | Yes | Yes |
The name to display in the basemap selector for the set of basemaps referencing this schema.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - |
"Lambert Maps" |
Map/Extents and Levels of Details | Yes | Yes |
The extent set to be used for this basemap (should reference map.extentSets.id).
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - |
"EXT_Lambert_3978" |
Map/Extents and Levels of Details | Yes | Yes |
Optional. The level of details set to be used for this basemap.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - |
"LOD_Lambert_3978" |
Map/Extents and Levels of Details | Yes | Yes |
Optional. If set, the overview map will use this layer instead of the active basemap.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Extents and Levels of Details | Yes | - |
Layer type that can be of one of those values ["esriImage", "esriTile"]
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "esriTile" |
Map/Extents and Levels of Details | Yes | Yes |
The service endpoint of the layer. It should match the type provided in [layerType]((#nodetileschemanodeoverviewurllayertype).
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "https://services.arcgisonline.com/.../World_Street_Map/MapServer" |
Map/Extents and Levels of Details | Yes | Yes |
Extents coordinates in projection system used by the layer.
| Name | Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|---|
| xmin | number | - |
-2681457 |
Map | - | - |
| ymin | number | - |
-883440 |
Map | - | - |
| xmax | number | - |
3549492 |
Map | - | - |
| ymax | number | - |
3482193 |
Map | - | - |
Extents coordinates in projection system used by the layer.
| Name | Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|---|
| xmin | number | - |
-2681457 |
Map/Layers | - | Yes |
| ymin | number | - |
-883440 |
Map/Layers | - | Yes |
| xmax | number | - |
3549492 |
Map/Layers | - | Yes |
| ymax | number | - |
3482193 |
Map/Layers | - | Yes |
⬆️ back to extentWithReferenceNode
Initial layer settings.
| Name | Type | Description | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|---|---|
| opacity | number | Initial opacity. | 1 |
true |
Map/Layers | Yes | - |
| visibility | boolean | Initial visibility setting. | true |
true |
Map/Layers | Yes | - |
| boundingBox | boolean | Display bounding box. | false |
true |
Map/Layers | Yes | - |
| query | boolean | Allow querying. | true |
true |
Map/Layers | Yes | - |
| snapshot | boolean | Retrieve all feature data immediately on load. | false |
true |
Map/Layers | Yes | - |
| hovertips | boolean | Disable hover tips. | true |
true |
Map/Layers | Yes | - |
⬆️ back to initialLayerSettings
A list of all controls to be enabled on the specified layer. Possible values are:
"opacity", "visibility", "boundingBox", "query", "snapshot", "metadata", "boundaryZoom", "refresh", "reload", "remove", "settings", "data", "styles"
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| array | - | ["opacity", "visibility", "boundingBox", "refresh", "reload", "remove", "settings"] |
Map/Layers | Yes | - |
BaseMaps node properties.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Basemaps | - | - |
A unique identifier for the basemap.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "baseRNCan_transport" |
Map/Basemaps | - | Yes |
Name of the basemap used for labeling.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "Transport with labels." |
Map/Basemaps | - | Yes |
Description of the basemap. Will be visible when basemap selector is expanded.Description of the basemap. Will be visible when basemap selector is expanded.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "This Canadian basemap provides geographic context with bilingual labels and an emphasis on transportation networks. From Natural Resources Canada." |
Map/Basemaps | - | Yes |
Alt text for the basemap thumbnail image.Alt text for the basemap thumbnail image.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "Transport with labels." |
Map/Basemaps | - | Yes |
Path to image file to display in the basemap selector.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "https://path2Image/myThumbnailImage.png" |
Map/Basemaps | Yes | Yes |
The tile schema for this basemap (should reference map.tileSchemas.id).
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "canadaLambert-01" |
Map/Basemaps | - | Yes |
A set of URLs which should be composited to form a basemap entry.
| Type | Author section | Advance | Required |
|---|---|---|---|
| array | Map/Basemaps | - | - |
Each item contains these three properties
| Name | Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|---|
| id | string | - |
"CBMT" |
Map/Basemaps | Yes | Yes |
| layerType | string | - |
"esriFeature" |
Map/Basemaps | Yes | Yes |
| url | string | - |
"https://.../services/BaseMaps/CBMT3978/MapServer" |
Map/Basemaps | - | Yes |
Layers coming from either esri image or tile services.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Layers or Map/Extents and Levels of Details | - | - |
The id of the layer for referencing within the viewer (does not relate directly to any external service).
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "basicLayer_1" |
Map/Layers or Map/Extents and Levels of Details | - | Yes |
The display name of the layer. If it is not present the viewer will make an attempt to scrape this information.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "Elevation" |
Map/Layers or Map/Extents and Levels of Details | - | Yes |
The service endpoint of the layer. It should match the type provided in layerType.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "https://.../arcgis/rest/services/tileService" |
Map/Layers or Map/Extents and Levels of Details | - | Yes |
The automatic refresh interval of the layer in minutes. Maximum interval is 100 minutes.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| number | 0 |
5 |
Map/Layers or Map/Extents and Levels of Details | Yes | - |
The metadata url of the layer service.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | null |
"https://.../metaDat" |
Map/Layers or Map/Extents and Levels of Details | Yes | - |
The metadata url of the layer service.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | null |
"https://.../catalogue" |
Map/Layers or Map/Extents and Levels of Details | Yes | - |
Type of layer. Can be either
esriImageoresriTile.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - |
"esriFeature" |
Map/Layers or Map/Extents and Levels of Details | - | Yes |
Layers coming from an esri feature service.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Layers | - | - |
The id of the layer for referencing within the viewer (does not relate directly to any external service).
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "featureLayer_1" |
Map/Layers | - | Yes |
The display name of the layer. If it is not present the viewer will make an attempt to scrape this information.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "Power plants" |
Map/Layers | - | Yes |
The service endpoint of the layer. It should match the type provided in layerType.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "https://.../MapServer/20" |
Map/Layers | - | Yes |
The automatic refresh interval of the layer in minutes. Maximum interval is 100 minutes.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| number | 0 |
5 |
Map/Layers | Yes | - |
The metadata url of the layer service.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | null |
"https://.../metaDat" |
Map/Layers | Yes | - |
The metadata url of the layer service.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | null |
"https://.../catalogue" |
Map/Layers | Yes | - |
Type of layer which can only be
esriFeature.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - |
"esriFeature" |
Map/Layers | - | Yes |
Allows individual symbols to have visibility toggled on/off.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| boolean | true |
true |
Map/Layers | Yes | - |
Specifies the tolerance in pixels when determining if a feature was clicked. Should be non-negative integer.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| boolean | 5 |
8 |
Map/Layers | Yes | - |
Layers coming from an esri feature service.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Layers | - | - |
The id of the layer for referencing within the viewer (does not relate directly to any external service).
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "wmsLayer_1" |
Map/Layers | - | Yes |
The display name of the layer. If it is not present the viewer will make an attempt to scrape this information.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "Power plants" |
Map/Layers | - | Yes |
The service endpoint of the layer. It should match the type provided in layerType.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "https://.../WMSServer" |
Map/Layers | - | Yes |
The automatic refresh interval of the layer in minutes. Maximum interval is 100 minutes.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| number | 0 |
5 |
Map/Layers | Yes | - |
The metadata url of the layer service.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | null |
"https://.../metaDat" |
Map/Layers | Yes | - |
The metadata url of the layer service.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | null |
"https://.../catalogue" |
Map/Layers | Yes | - |
Type of layer which can only be
ogcWms.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - |
"ogcWms" |
Map/Layers | - | Yes |
If specified indicates that GetFeatureInfo should be enabled for this WMS and indicates the format that should be requested. Possible values are [ "text/html;fgpv=summary", "text/html", "text/plain", "application/json" ].
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - |
"text/plain" |
Map/Layers | - | - |
If specified indicates that GetLegendGraphic should be enabled for this WMS and indicates the format that should be requested. Possible values are [ "image/png", "image/gif", "image/jpeg", "image/svg", "image/svg+xml" ].
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - |
"image/png" |
Map/Layers | - | - |
One layer entry in a WMS service.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Layers | - | - |
The id of the layer entry in the WMS.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "wind_en" |
Map/Layers | - | Yes |
A descriptive name for the layer. To be used in the legend.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "Wind layer" |
Map/Layers | - | Yes |
All the styles for the layer entry in the WMS.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| array | - | [ "WINDARROW", "WINDARROWKMH", "WINDSPEED", "WINDSPEEDKMH" ] |
Map/Layers | - | Yes |
The current style for the layer entry in the WMS.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "WINDSPEEDKMH" |
Map/Layers | Yes | - |
Layers coming from an esri feature service.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Layers | - | - |
The id of the layer for referencing within the viewer (does not relate directly to any external service).
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "dynamicLayer_1" |
Map/Layers | - | Yes |
The display name of the layer. If it is not present the viewer will make an attempt to scrape this information.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "Power plants" |
Map/Layers | - | Yes |
The service endpoint of the layer. It should match the type provided in layerType.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "https://.../MapServer/" |
Map/Layers | - | Yes |
The automatic refresh interval of the layer in minutes. Maximum interval is 100 minutes.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| number | 0 |
5 |
Map/Layers | Yes | - |
The metadata url of the layer service.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | null |
"https://.../metaDat" |
Map/Layers | Yes | - |
The metadata url of the layer service.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | null |
"https://.../catalogue" |
Map/Layers | Yes | - |
Type of layer which can only be
esriDynamic.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - |
"esriDynamic" |
Map/Layers | - | Yes |
Allows individual symbols to have visibility toggled on/off.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| boolean | true |
true |
Map/Layers | Yes | - |
Indicates that the dynamic layer with a single layer entry should be rendered without the root group.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| boolean | true |
true |
Map/Layers | - | - |
Specifies the tolerance in pixels when determining if a feature was clicked. Should be non-negative integer.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| boolean | 5 |
8 |
Map/Layers | Yes | - |
Layer entry coming from an esri dynamic service.
| Type | Author section | Advance | Required |
|---|---|---|---|
| object | Map/Layers | - | - |
The index of the layer in the map service.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| number | - | 0 |
Map/Layers | - | Yes |
A descriptive name for the layer, can override the name coming from the service.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "Solar stations" |
Map/Layers | - | - |
A descriptive name for the layer, can override the name coming from the service.
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| string | - | "Solar stations" |
Map/Layers | Yes | - |
A flag indicating this entry is only for state tracking (i.e. it should not be displayed on the UI and all of the controls will be ignored, but the layer itself will be displayed on the map with the given state settings).
| Type | Default value | Example | Author section | Advance | Required |
|---|---|---|---|---|---|
| boolean | false |
true |
Map/Layers | Yes | - |