An ArcGIS Tiled Image Service layer displays content from an ArcGIS Server Image service that has been cached (tiled).
Referenced by: baseMapLayer, operationalLayers
Properties
| Property | Details |
|---|---|
| bandIds[] | An array of bandIds that are visible for a multispectral dataset. It can specify bands to export or rearrange band order(from image service). |
| blendMode | Blend modes are used to create various effects by blending colors of top and background layers. normal blend mode is the default.Valid values: average, color, color-burn, color-dodge, darken, destination-atop, destination-in, destination-out, destination-over, difference, exclusion, hard-light, hue, invert, lighten, lighter, luminosity, minus, multiply, normal, overlay, plus, reflect, saturation, screen, soft-light, source-atop, source-in, source-out, vivid-light, xor |
| customParameters | A sequence of custom parameters appended to the URL of all requests related to a layer. |
| disablePopup | Indicates whether to allow a client to ignore popups defined by the service item. |
| id | A unique identifying string for the layer. |
| interpolation | String indicating the interpolation type. Valid values:
|
| isReference | Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false). |
| itemId | Optional string containing the item ID of the service if it’s registered on ArcGIS Online or your organization’s portal. |
| layerDefinition | An object that defines the drawing information for image service based layers. See layerDefinition properties table. |
| layerType | String indicating the layer type. Valid value of this property ArcGISTiledImageServiceLayer |
| listMode | To show or hide the sublayer in the layer list. Valid values:
|
| maxScale | A number representing the maximum scale at which the layer will be visible. The number is the scale’s denominator. |
| minScale | A number representing the minimum scale at which the layer will be visible. The number is the scale’s denominator. |
| multidimensionalDefinition[] | An array of objects representing a slice from multidimensional data. The dimensional definitions in this array are used to filter display data based on slices in one or more dimensions. |
| multidimensionalSubset | An object representing a subset from multidimensional data. This includes subsets of both variables and dimensions. When the multidimensionalSubset is defined on a tiled image service layer, the layer’s multidimensionalDefinition must be within the defined multidimensionalSubset, otherwise nothing will be displayed. |
| opacity | The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency. |
| popupInfo | A popupInfo object defining the content of popup windows when you click on the image. |
| refreshInterval | Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled. |
| renderingRule | Specifies the rendering rule for how the requested image should be rendered. |
| screenSizePerspective | Apply perspective scaling to screen-size 3D visualizations (for example streamlines from a flow renderer). |
| showLegend | Boolean value indicating whether to display the layer in the legend. Default value is true. |
| timeAnimation | Indicates whether to enable time animation if the layer supports it. Default value is true. |
| title | A user-friendly string title for the layer that can be used in a table of contents. |
| url | URL to the ArcGIS Server Image Service. |
| visibility | Boolean property determining whether the layer is initially visible. |
| visibilityTimeExtent | Represents time extent that will control when a layer should be visible based on webscene’s current time. Visibility time extent only affects the layer visibility and will not filter the data. |
layerDefinition properties
| Property | Details |
|---|---|
| activePresetRendererName | The name of the active preset renderer, if the image service layer’s current renderer is from preset renderers. |
| drawingInfo | Contains the drawing information. |
| elevationInfo | Define how features and other scene elements are aligned to ground or other layers. Elevation info affects the image service layer only when using a flow renderer. |
| presetRenderers[] | An array of preset renderers for image service layers, each contains associated information of multidimensional variable or raster function template. |
operationalLayer Example
Live sample web scene showing the ArcGISTiledImageServiceLayer as an operationalLayer
{ "id": "15987e18ba6-layer-1", "layerType": "ArcGISTiledImageServiceLayer", "url": "https://sampleserver6.arcgisonline.com/arcgis/rest/services/Toronto/ImageServer", "visibility": true, "opacity": 1, "title": "Toronto", "itemId": "b81671067dec4bd4b569f09d9884d70f", "minScale": 611770, "maxScale": 6059}Tiled Imagery Example
{ "id": "Toronto_4412", "layerType": "ArcGISTiledImageServiceLayer", "url": "https://sampleserver6.arcgisonline.com/arcgis/rest/services/Toronto/ImageServer", "visibility": true, "opacity": 1, "title": "Toronto", "showLegend": true, "itemId": "b81671067dec4bd4b569f09d9884d70f", "minScale": 611770, "maxScale": 6059}Example
{ "layerType": "ArcGISTiledImageServiceLayer", "url": "https://your-multidimensional-tiled-service", "id": "HYCOM_layer8818", "visibility": true, "title": "HYCOM", "multidimensionalDefinition": [ { "variableName": "salinity", "dimensionName": "StdTime", "values": [ 1356998400000 ], "isSlice": true }, { "variableName": "salinity", "dimensionName": "StdZ", "values": [ -500 ], "isSlice": true } ], "multidimensionalSubset": { "areaOfInterest": { "xmin": -171, "xmax": -126, "ymin": 17, "ymax": 56, "spatialReference": { "wkid": 4326 } }, "subsetDefinitions": [ { "variableName": "salinity", "dimensionName": "StdTime", "values": [ 1356998400000, 1388448000000 ], "isSlice": false }, { "variableName": "salinity", "dimensionName": "StdZ", "values": [ -1000, 0 ], "isSlice": false }, { "variableName": "water_temp", "dimensionName": "StdTime", "values": [ 1356998400000, 1388448000000 ], "isSlice": false }, { "variableName": "water_temp", "dimensionName": "StdZ", "values": [ -1000, 0 ], "isSlice": false } ] }}