AnsweredAssumed Answered

identifyLayersAsync problem v100.1

Question asked by francisgagne on Aug 18, 2017
Latest reply on Aug 28, 2017 by ANohe-esristaff

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,

Outcomes