Hi,
I am using ArcGIS Runtime for .Net 10.2.7.
I have an application that draws graphics dynamically every few seconds.
Due to application limitations, I have to perform a synchronous hit test.
I tried waiting for the HitTestAsync task, but the application gets stuck, and the task's state is always 'WaitingForActivation'.
Is there any way to perform hit test synchronously?
Thanks,
Keren
How are you "synchronously" waiting for hittest to complete? If you're blocking the async task with a .Wait() call, you WILL hit a deadlock. Synchronous hit testing isn't supported.
Will it be supported in future versions?
Our application architecture forces us to work synchronously..
No on the contrary async is the design pattern going forward.
Are you sure you can't change your application architecture? Forcing synchronous processing has a lot of downsides, which is why most UI frameworks has moved away from this.