payload: {"action":"created","issue":{"url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-ios/issues/550","repository_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-ios","labels_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-ios/issues/550/labels{/name}","comments_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-ios/issues/550/comments","events_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-ios/issues/550/events","html_url":"https://github.com/Esri/arcgis-runtime-samples-ios/issues/550","id":375591076,"node_id":"MDU6SXNzdWUzNzU1OTEwNzY=","number":550,"title":"Geofence trigger","user":{"login":"serbanb","id":12502229,"node_id":"MDQ6VXNlcjEyNTAyMjI5","avatar_url":"https://avatars0.githubusercontent.com/u/12502229?v=4","gravatar_id":"","url":"https://api.github.com/users/serbanb","html_url":"https://github.com/serbanb","followers_url":"https://api.github.com/users/serbanb/followers","following_url":"https://api.github.com/users/serbanb/following{/other_user}","gists_url":"https://api.github.com/users/serbanb/gists{/gist_id}","starred_url":"https://api.github.com/users/serbanb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serbanb/subscriptions","organizations_url":"https://api.github.com/users/serbanb/orgs","repos_url":"https://api.github.com/users/serbanb/repos","events_url":"https://api.github.com/users/serbanb/events{/privacy}","received_events_url":"https://api.github.com/users/serbanb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-30T16:51:07Z","updated_at":"2019-02-07T03:17:44Z","closed_at":null,"author_association":"NONE","body":"Hi, I did not find any example on how to trigger a call to a delegate or a notification when the device enters or exits a defined area on a map. The area can be either a center point with a radius or a polygon defined by multiple points or something. I did not find any help in the ArcGis iOS SDK API Reference either. A hint on where to start is also appreciated. \r\nThanks"},"comment":{"url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-ios/issues/comments/461274452","html_url":"https://github.com/Esri/arcgis-runtime-samples-ios/issues/550#issuecomment-461274452","issue_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-ios/issues/550","id":461274452,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2MTI3NDQ1Mg==","user":{"login":"dg0yal","id":1843868,"node_id":"MDQ6VXNlcjE4NDM4Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/1843868?v=4","gravatar_id":"","url":"https://api.github.com/users/dg0yal","html_url":"https://github.com/dg0yal","followers_url":"https://api.github.com/users/dg0yal/followers","following_url":"https://api.github.com/users/dg0yal/following{/other_user}","gists_url":"https://api.github.com/users/dg0yal/gists{/gist_id}","starred_url":"https://api.github.com/users/dg0yal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dg0yal/subscriptions","organizations_url":"https://api.github.com/users/dg0yal/orgs","repos_url":"https://api.github.com/users/dg0yal/repos","events_url":"https://api.github.com/users/dg0yal/events{/privacy}","received_events_url":"https://api.github.com/users/dg0yal/received_events","type":"User","site_admin":false},"created_at":"2019-02-07T03:17:44Z","updated_at":"2019-02-07T03:17:44Z","author_association":"MEMBER","body":"@serbanb while you can certainly use AGSGeometryEngine to compute whether a point is inside or intersects a polygon, you could also consider using Apple's location manager apis with regions https://developer.apple.com/documentation/corelocation/monitoring_the_user_s_proximity_to_geographic_regions\r\n\r\nArcGIS Runtime does not yet provide any location based triggers or region monitoring functionality.\r\n\r\n@alpascual had cooked up a demo on how this could be achieved using custom code built on top of runtime. Perhaps he can share that"}}
other: {"actor":{"display_login":"dg0yal"}}