import ImageToMapMultirayParameters from "@arcgis/core/rest/support/ImageToMapMultirayParameters.js";const ImageToMapMultirayParameters = await $arcgis.import("@arcgis/core/rest/support/ImageToMapMultirayParameters.js");- Inheritance:
- ImageToMapMultirayParameters→
Accessor
- Since
- ArcGIS Maps SDK for JavaScript 4.29
Input parameters for the ImageryLayer.imageToMapMultiray() or imageToMapMultiray() methods.
The imageToMapMultiray operation computes a 3D geometry in a map from multiple image space geometries on multiple corresponding raster items
of one same object. For example, a house is shown in several raster items. Users can specify the house location on each image using the
geometries parameter. Then in the rasterIds parameter, specify the rasterIds of the images in the same order as the geometries.
The imageToMapMultiray operation will find and return the house location in the map space on all specified images.
Constructors
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | | |
Properties
| Property | Type | Class |
|---|---|---|
declaredClass readonly inherited | ||
| | ||
| | ||
number[] | |
geometries
- Type
- GeometryUnion[]
An array of geometries in image space coordinates representing the same map location on different images.
outSpatialReference
- Type
- SpatialReference | null | undefined
The spatial reference for the output geometry. If not specified, the spatial reference of the image service is used.
rasterIds
- Type
- number[]
The rasterIds of the raster items that correspond to the input geometries.
Methods
fromJSON
- Signature
-
fromJSON (json: any): any
Creates a new instance of this class and initializes it with values from a JSON object
generated from an ArcGIS product. The object passed into the input json
parameter often comes from a response to a query operation in the REST API or a
toJSON()
method from another ArcGIS product. See the Using fromJSON()
topic in the Guide for details and examples of when and how to use this function.
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| json | A JSON representation of the instance in the ArcGIS format. See the ArcGIS REST API documentation for examples of the structure of various input JSON objects. | |
- Returns
- any
Returns a new instance of this class.
clone
- Signature
-
clone (): this
Creates a deep clone of this object. Any properties that store values by reference will be assigned copies of the referenced values on the cloned instance.
- Returns
- this
A deep clone of the class instance that invoked this method.
toJSON
- Signature
-
toJSON (): any
Converts an instance of this class to its ArcGIS portal JSON representation. See the Using fromJSON() guide topic for more information.
- Returns
- any
The ArcGIS portal JSON representation of an instance of this class.