Image Service Vector Layer (ArcGISImageServiceVectorLayer)

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

Property Details
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.
definitionEditor Stores interactive filters.
disablePopup Boolean property indicating whether to ignore popups defined by the service item.
effect Effect provides various filter functions to achieve different visual effects similar to how image filters (photo apps) work.
id A unique identifying string for the layer.
isReference This 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).
itemId A string containing the item ID of the service if it's registered with ArcGIS Online or your organization's portal.
layerDefinition An object that defines the attribute schema and drawing information for a layer drawn using client-side graphics.
See layerDefinition properties table.
layerType String indicating the layer type.
Valid value of this property ArcGISImageServiceVectorLayer
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.
mosaicRule Specifies the mosaic rule when defining how individual images should be mosaicked.
multidimensionalSubset An 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.
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 or query a feature.
showLegend Boolean value indicating whether to display legend for this layer. Default value is 'true'.
symbolTileSize Number describing the size of the tile.
timeAnimation This property is applicable to layers that support time. If 'true', timeAnimation is enabled.
title A user-friendly string title for the layer that can be used in a table of contents.
url The URL to the layer.
visibility Boolean property determining whether the layer is initially visible in the web map.
visibilityTimeExtent Represents 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.

layerDefinition properties

Property Details
definitionExpression SQL-based definition expression string that narrows the data to be displayed in the layer.
drawingInfo Contains the drawing and labeling information.

Additional information

Live sample web maps showing the imageServiceVectorLayer as an operationalLayer.
Live sample web maps showing the imageServiceVectorLayer as a baseMapLayer

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
      }
    ]
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.