Looking to see if anyone knows how to force runtime to not enable selection of a layer. I have disabled pop-up's and disabled selection before MMPK package creation but it is still selectable. I want to do this on the package side so I do not have to control it layer by layer in runtime. Thoughts?
Thank you
Hi @AnonymousUser23, apologies for the delayed response. The following should work:
1. Have popups disabled on the layer when the MMPK is generated.
2. Use identifyLayersAtScreenPoint:tolerance:returnPopupsOnly:completion: with returnPopupsOnly set true.
Any layer with popups disabled should no longer be returned.
I hope this helps,
David
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.