I have a region item consisting of 4 corners and a polygon constructed by those corners. I want to alert the user when another moving Graphic (simple one with a marker) enters into that polygon. How can I understand that my region contains a specific Graphic?
GeometryEngine::contains(const Esri::ArcGISRuntime::Geometry &geometry1, const Esri::ArcGISRuntime::Geometry &geometry2) seems to be the solution.
Hi Fatma,
Yes, that is the best way for now!
I would just like to say that we are working on a GeoTriggers feature which maps specifically to your use case (notifying when an area of interest is entered/exited). I can not commit to any specific release date, but you should keep an eye out for any announcements that mention GeoTriggers.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.