AnsweredAssumed Answered

C++ exception thrown when trying to identify feature

Question asked by marius_tabletcommand on Apr 19, 2017
Latest reply on Apr 21, 2017 by DGoyal-esristaff

Hello,

 

I'm trying to hook up a popover to a map, so when you tap on a feature (part of a AGSFeatureLayer, loaded from the portal map), I'll show what attributes were available in that feature.

 

I've been using ```geoView identifyLayersAtScreenPoint:tolerance:returnPopupsOnly:completion:``` to try to identify that feature. However, when using that code, I get a C++ exception (attached). The identifyResults array from the completion block returns the correct layer, but the layer has no geoElements.

 

Are these two events related (the C++ exception and no results), or is there a different bug in my code?

 

Thank you,
Marius

Outcomes