Hi i'm in this situation,
for example if I launch the identification near the red points I get the results correctly from the red dot layer
but if I do a small zoom out and i launch the identification in the same point and at that zoom level the layer is not visible I don't get results from the layer ... is that correct?
in this case i have zero results from dot red layer
Regards Roberto
Hi,
That's the expected behavior: Identify will return visible GeoElements only.
For more info see:
Method IdentifyLayerAsync (arcgis.com)
Method IdentifyLayersAsync (arcgis.com)
Thanks
hi thank you for the answer
I ask this because in the old version 10.5.2 (now we are porting to 100) this did not happen and the client asks us to identify even if the layer at a certain zoom level is not visible. It is possible to get around the problem in some way
Regards Roberto
For a workaround, I suggest creating a buffer using the geometry of the tapped point. Then query the features using the buffer geometry as a query parameter. You could even scale the size of the buffer using the current scale of the map view.
Thanks for the reply
We have about 100 layers on the map, which are active but visible at different zoom levels.
So there are no other alternatives to make a query for each single layer?
Regards Roberto