The following tables list the members exposed by IdentifyParameters.
Name | Description | |
---|---|---|
IdentifyParameters Constructor | Constructor. |
Name | Description | |
---|---|---|
DPI | Resolution of the current map view in dots per inch. The default is 96. | |
Geometry | The geometry to identify on. The valid geometry types are Envelope, Point, Multipoint, Polyline, or Polygon. | |
Height | Height of the map currently being viewed in pixels. | |
LayerDefinitions | Collection of layer definition expressions that allows you to filter the features of individual layers in the exported map image. Definition expressions for layers that are currently not visible will be ignored by the server. | |
LayerIds | Optional. When layer Ids are specified, the server treats it as a boolean "AND" operator. For example, if the LayerOption Visible is specified and the LayerIds are set to [2,5], only layers with Ids 2 and 5, if visible, are identified. To idenfity sub-layers that are not visible in the default map service definition, you may need to use the "All" LayerOption to return results. | |
LayerOption | Specifies which method to use when using Identify. "Top": Only the topmost visible layer is identified. "Visible": All visible layers are identified. "All": All layers are identified, even if they are not visible. Performance note: if your service has many layers, a request using "All" will not perform well. A visible layer means you can see it in the map at the current extent. If a layer is turned off or not in range based on its scale dependency settings, it cannot be identified. To idenfity sub-layers that are not visible in the default map service definition, you may need to use the "All" option to return results. | |
MapExtent | The extent or bounding box of the map currently being viewed. Unless the SpatialReferenceWKID parameter has been specified, the mapExtent is assumed to be in the spatial reference of the map. | |
MaxAllowableOffset | Gets or sets the max allowable offset. This option can be used to specify the maximum allowable offset to be used for generalizing geometries returned by the identify operation. | |
ReturnGeometry | If true, each returned feature includes the geometry. Since the geometry makes up a significant portion of the result, only use when you plan to use the geometry of the feature, for example, to include them on a map. By default, this is true. | |
SpatialReference | The spatial reference of the input and output geometries as well as the mapExtent. If sr is not specified, the geometry and the mapExtent are assumed to be in the spatial reference of the map, and the output geometries are also in the spatial reference of the map. The SpatialReference supports wkid as well as wkt for custom spatial references. | |
SpatialReferenceWKID | Note: This API is now obsolete. Please use the IdentifyParameters.SpatialReference property. The well-known ID of the spatial reference of the input and output geometries as well as the mapExtent. If not specified, the geometry and the mapExtent are assumed to be in the spatial reference of the mapservice, and the output geometries are also in the spatial reference of the map. | |
TimeExtent | Gets or sets the time instant or the time extent to identify. | |
TimeOptions | Gets or sets the layer time options. Time options can be set to indicate whether or not the layer should use the time extent specified by the time parameter or not, whether to draw the layer features cumulatively or not and the time offsets for the layer. | |
Tolerance | The distance in screen pixels from the specified geometry within which the identify should be performed. | |
Width | Width of the map currently being viewed in pixels. |