identify Layers
Identifies the topmost geoelements at the given screen point, in each identifiable layer or sublayer in the GeoView's ArcGISMap or ArcGISScene.
As locations from user gestures are not always accurate to the exact pixel, you can define a tolerance for the identify operation. The tolerance parameter sets the radius of a circle, centered at the specified coordinates, in device-independent pixels (DIP). If the tolerance value is 0, identify performs the test at the specified coordinates. If it is greater than 0, identify tests inside the circle. For touch displays a value of 22 is recommended to cover an average finger tap. The maximum allowed value is 100 DIPs.
The result is returned in a collection of IdentifyLayerResult to match the order of the GeoView's ArcGISMap.operationalLayers or ArcGISScene.operationalLayers collection, followed by the Basemap layers. If the returnPopupsOnly parameter is true, only IdentifyLayerResult.popups is populated. If the layer does not have popups, IdentifyLayerResult.error will be set in the return value. If the returnPopupsOnly parameter is false, both IdentifyLayerResult.geoElements and IdentifyLayerResult.popups are populated if the layer has popups.
Identifying an ArcGISVectorTiledLayer is only supported on a MapView.
Return
A Result containing a collection of IdentifyLayerResult, containing one entry for each layer in the view that supports identify. Each entry contains a Layer and a collection of elements of the type contained by the layer (for example, Feature for a FeatureLayer).
Since
200.1.0
Parameters
The screen coordinates to identify the geoelements.
A radius in device-independent pixels (DIP) that specifies how precise the identify operation should be.
True includes only popups in the identify results. False includes both geoelements and popups in the results.
Identifies a limited number of geoelements at the given screen point, in each identifiable layer or sublayer in the GeoView's ArcGISMap or ArcGISScene.
As locations from user gestures are not always accurate to the exact pixel, you can define a tolerance for the identify operation. The tolerance parameter sets the radius of a circle, centered at the specified coordinates, in device-independent pixels (DIP). If the tolerance value is 0, identify performs the test at the specified coordinates. If it is greater than 0, identify tests inside the circle. For touch displays a value of 22 is recommended to cover an average finger tap. The maximum allowed value is 100 DIPs.
The result is returned in a collection of IdentifyLayerResult to match the order of the GeoView's ArcGISMap.operationalLayers or ArcGISScene.operationalLayers collection, followed by the Basemap layers. If the returnPopupsOnly parameter is true, only IdentifyLayerResult.popups is populated. If the layer does not have popups, IdentifyLayerResult.error will be set in the return value. If the returnPopupsOnly parameter is false, both IdentifyLayerResult.geoElements and IdentifyLayerResult.popups are populated if the layer has popups. IdentifyLayerResult.geoElements and IdentifyLayerResult.popups provide the results in a top-to-bottom order.
Identifying an ArcGISVectorTiledLayer is only supported on a MapView.
Return
A Result containing a collection of IdentifyLayerResult, containing one entry for each layer in the view that supports identify. Each entry contains a Layer and a collection of elements of the type contained by the layer (for example, Feature for a FeatureLayer).
Since
200.1.0
Parameters
The screen coordinates to identify the geoelements.
A radius in device-independent pixels (DIP) that specifies how precise the identify operation should be.
True includes only popups in the identify results. An error is returned if the layer does not have popups. False includes both geoelements and popups in the identify results.
The maximum number of geoelements and/or popups returned in the IdentifyLayerResult per layer or sublayer. A value of -1 indicates unlimited results.