import ImageToMapParameters from "@arcgis/core/rest/support/ImageToMapParameters.js";
            const ImageToMapParameters = await $arcgis.import("@arcgis/core/rest/support/ImageToMapParameters.js");
            @arcgis/core/rest/support/ImageToMapParameters
        Input parameters for the ImageryLayer.imageToMap() or imageService.imageToMap() methods.
Constructors
- 
  
  
  
  
  
  
  
  
    Parameterproperties ObjectoptionalSee the properties for a list of all the properties that may be passed into the constructor. 
Property Overview
| Name | Type | Summary | Class | 
|---|---|---|---|
| When  | ImageToMapParameters | ||
| The depth offset. | ImageToMapParameters | ||
| The geometry in an image space. | ImageToMapParameters | ||
| The spatial reference for the output geometry. | ImageToMapParameters | ||
| The corresponding raster id for the input geometry. | ImageToMapParameters | 
Property Details
- 
  
  adjustPropertyadjust Boolean
- 
  
    When true, it will adjust the background vertices to be in the foreground.- Default Value:false
 
- 
  
  depthOffsetPropertydepthOffset Number
- 
  
    The depth offset. - Default Value:0
 
- 
  
  geometryPropertygeometry Multipoint |Point |Polygon |Polylineautocast
- 
  
    The geometry in an image space. 
- 
  
  outSpatialReferencePropertyoutSpatialReference SpatialReference |null |undefinedautocast
- 
  
    The spatial reference for the output geometry. If not specified, the spatial reference of the image service is used. 
Method Overview
| Name | Return Type | Summary | Class | 
|---|---|---|---|
| Creates a new instance of this class and initializes it with values from a JSON object generated from an ArcGIS product. | ImageToMapParameters | ||
| Converts an instance of this class to its ArcGIS portal JSON representation. | ImageToMapParameters | 
Method Details
- 
  
  
    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 jsonparameter 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.Parameterjson ObjectA 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
- 
  
  toJSONMethodtoJSON(){Object}
- 
  
  
    Converts an instance of this class to its ArcGIS portal JSON representation. See the Using fromJSON() guide topic for more information. ReturnsType Description Object The ArcGIS portal JSON representation of an instance of this class.