Oriented Imagery Layer (OrientedImageryLayer)

An Oriented Imagery layer is an extended point feature layer with additional properties that support the oriented imagery workflow. It is defined by camera locations (features) and has a geometry that allows it to be rendered in either a 2D MapView or 3D SceneView as a graphic with spatial context.

Referenced by: 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
capabilities A comma-separated string listing which editing operations are allowed on an editable feature service.
charts[] An array of chart items of type WebChart available on the feature layer.
customParameters A sequence of custom parameters appended to the URL of all requests related to a layer.
definitionEditor Stores interactive filters.
disablePopup Indicates whether to allow a client 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.
featureEffect Feature Effect emphasizes or deemphasizes features that satisfy a filter using graphical effects
formInfo A formInfo object defining the content of the form when you are editing a feature.
id A unique identifying string for the layer.
itemId Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal.
layerDefinition A layerDefinition object defining the attribute schema and drawing information for the layer.
See layerDefinition properties table.
layerType String indicating the layer type.
Valid value of this property OrientedImageryLayer
opacity The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.
orientedImageryProperties Object containing information about the chosen Oriented Imagery layer and schema.
popupInfo A popupInfo object defining the content of popup window when you click a feature on the map.
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.
showLabels Labels will display if this property is set to true and the layer also has a labelingInfo property associated with it. This property can get stored in the web map config and in the item/data.
showLegend Boolean value indicating whether to display the layer in the legend. Default value is true.
timeAnimation Indicates whether to disable time animation if the layer supports it.
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
capabilities A comma separated list of supported capabilities, e.g. Query,Editing.
definitionExpression SQL-based definition expression string that narrows the data to be displayed in the layer.
drawingInfo Contains the drawing and labeling information.
featureReduction An object defining how to aggregate dense point data to clusters or bins.
floorInfo Contains floor-awareness information for the layer.
maxScale Integer property used to determine the maximum scale at which the layer is displayed.
minScale Integer property used to determine the minimum scale at which the layer is displayed.
orderBy[] An array of orderByField objects specifying the feature display order. Features can be sorted in ascending or descending order of a numeric or date field only. If ascending, features with smaller values will be drawn on top of features with larger values. For date values, ascending order means features with older dates will be drawn on top of features with recent dates. If descending, the sort behavior is reversed. Only one field can be specified at this time. When this property is not defined, features are displayed in the order in which they are received by the client.

orientedImageryLayerSample Example

Sample OrientedImageryLayer as an operationalLayer

{
  "id": "1",
  "layerType": "OrientedImageryLayer",
  "opacity": 1,
  "title": "Munich_OID",
  "url": "https://services.arcgis.com/2Pv4ow3pE6NFC9SW/arcgis/rest/services/Munich_OID/FeatureServer/0",
  "orientedImageryProperties": {
    "maximumDistance": 200,
    "coveragePercent": 50,
    "horizontalMeasurementUnit": "feet",
    "verticalMeasurementUnit": "feet",
    "timeIntervalUnit": "hours",
    "orientedImageryType": "oblique",
    "cameraHeading": 90,
    "cameraPitch": 0,
    "elevationSource": {
      "url": "https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer",
      "rasterFunction": "Ellipsoidal_Height",
      "lod": 12
    },
    "cameraRoll": 0,
    "cameraHeight": 1.2,
    "horizontalFieldOfView": 63.5,
    "imagePathPrefix": "https://orientedimagerysamples.com/2021/images/",
    "imagePathSuffix": ".tif",
    "verticalFieldOfView": 33,
    "nearDistance": 1,
    "farDistance": 30,
    "imageRotation": 0
  },
  "visibility": true
}

orientedImageryLayerSample2 Example

Sample OrientedImageryLayer as an operationalLayer with limited properties

{
  "id": "1",
  "layerType": "OrientedImageryLayer",
  "title": "Munich_OID",
  "url": "https://services.arcgis.com/2Pv4ow3pE6NFC9SW/arcgis/rest/services/Munich_OID/FeatureServer/0",
  "orientedImageryProperties": {
    "maximumDistance": 200,
    "orientedImageryType": "oblique",
    "cameraHeading": 90,
    "cameraPitch": 0,
    "cameraRoll": 0,
    "cameraHeight": 1.2,
    "horizontalFieldOfView": 63.5,
    "verticalFieldOfView": 33,
    "nearDistance": 1,
    "farDistance": 30
  },
  "visibility": true
}

orientedImageryLayerSample3 Example

Sample OrientedImageryLayer as an operationalLayer with constant elevation for elevation source.

{
  "id": "1",
  "layerType": "OrientedImageryLayer",
  "title": "Munich_OID",
  "url": "https://services.arcgis.com/2Pv4ow3pE6NFC9SW/arcgis/rest/services/Munich_OID/FeatureServer/0",
  "orientedImageryProperties": {
    "maximumDistance": 200,
    "orientedImageryType": "oblique",
    "cameraHeading": 90,
    "cameraPitch": 0,
    "cameraRoll": 0,
    "cameraHeight": 1.2,
    "elevationSource": {
      "constantElevation": 450
    }
  },
  "visibility": true
}

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