Hello,
We have a MapImageLayer and a FeatureLayer from a service on the map.
We tried to use the identifyLayersAsync() of the MapView but there is no result for the FeatureLayer.
final ListenableFuture<List<IdentifyLayerResult>> future =
viewerModel.getMapView().identifyLayersAsync(clickedPoint.getScreenPoint(), tolerance, false, 1000);
future.addDoneListener(new Runnable() {
@Override
public void run() {
try {
List<IdentifyLayerResult> identifyLayerResults = future.get();
for (IdentifyLayerResult result : identifyLayerResults) {
//NO RESULT FOR FEATUE LAYER HERE BUT IMAGELAYER IS OK
}
} catch (Exception e) {}
});
We use Energy/Geology (FeatureServer) and USA (MapServer)
Thanks,
That is interesting.
I am getting feature services returned but not map services. Can you confirm that map services are being returned for you?