The imageServiceVectorLayer displays pixel values as vectors. To do this, the image service layer must be a two-band raster in which one band holds magnitude values and one band holds direction values. The imageServiceVectorLayer also supports time-enabled data.

Referenced by: baseMapLayer, operationalLayers

Properties

PropertyDetails
blendModeBlend 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
customParametersA sequence of custom parameters appended to the URL of all requests related to a layer.
definitionEditorStores interactive filters.
disablePopupBoolean property indicating whether to ignore popups defined by the service item.
effectEffect provides various filter functions to achieve different visual effects similar to how image filters (photo apps) work.
idA unique identifying string for the layer.
isReferenceThis is 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).
itemIdA string containing the item ID of the service if it’s registered with ArcGIS Online or your organization’s portal.
layerDefinitionAn object that defines the drawing information for image service based layers.
layerTypeString indicating the layer type.
Valid value of this property ArcGISImageServiceVectorLayer
maxScaleA number representing the maximum scale at which the layer will be visible. The number is the scale’s denominator.
minScaleA number representing the minimum scale at which the layer will be visible. The number is the scale’s denominator.
mosaicRuleSpecifies the mosaic rule when defining how individual images should be mosaicked.
multidimensionalSubsetAn object representing a subset from multidimensional data. The data is based on slices or ranges in one or more dimensions in mosaicRule.description. When the multidimensionalSubset is defined then the mosaicRule.multidimensionalDefinition must be within the defined multidimensionalSubset, otherwise nothing will be displayed.
opacityThe degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.
popupInfoA popupInfo object defining the content of popup windows when you click or query a feature.
showLegendBoolean value indicating whether to display legend for this layer. Default value is ‘true’.
symbolTileSizeNumber describing the size of the tile.
timeAnimationThis property is applicable to layers that support time. If ‘true’, timeAnimation is enabled.
titleA user-friendly string title for the layer that can be used in a table of contents.
urlThe URL to the layer.
visibilityBoolean property determining whether the layer is initially visible in the web map.
visibilityTimeExtentRepresents time extent that will control when a layer should be visible based on webmap’s current time. Visibility time extent only affects the layer visibility and will not filter the data.

Example

{
"id": "NDFD_wind_8497",
"layerType": "ArcGISImageServiceVectorLayer",
"url": "https://sampleserver6.arcgisonline.com/arcgis/rest/services/ScientificData/NDFD_wind/ImageServer",
"visibility": true,
"opacity": 1,
"title": "NDFD_wind",
"symbolTileSize": 50,
"layerDefinition": {
"drawingInfo": {
"renderer": {
"rotationType": "geographic",
"visualVariables": [
{
"type": "sizeInfo",
"minSize": 5.625,
"maxSize": 32.625,
"minDataValue": 0.041,
"maxDataValue": 31.938,
"field": "Magnitude"
}
],
"type": "vectorField",
"style": "beaufort_kn",
"attributeField": "Magnitude",
"flowRepresentation": "flow_from"
}
}
},
"mosaicRule": {
"mosaicMethod": "esriMosaicAttribute",
"sortField": "StdTime",
"sortValue": "2000/01/01, 12:00 AM",
"ascending": true,
"mosaicOperation": "MT_FIRST",
"multidimensionalDefinition": [
{
"variableName": "",
"dimensionName": "StdTime",
"values": [
1414303200000
],
"isSlice": true
}
]
}
}