Something equivalent to QueuedTask.Wait();

587
1
Jump to solution
02-21-2018 04:48 AM
MikeRatcliffe
Occasional Contributor

I'm trying to perform an operation on a MapView.Active after it has been created with CreateMapPaneAsync, but all waiting, awaiting, timing methods I've used fail to coordinate the operations.  Is there a structure I can use to perform my operation on the MapView.Active only after CreateMapPaneAsync is complete?

0 Kudos
1 Solution

Accepted Solutions
MikeRatcliffe
Occasional Contributor

A method to (1) check for MapView.Active, (2) CreateMapPaneAsync if no mapPane exists; which allows to perform operation after CreateMapPaneAsync is complete:

method: (sol1.jpg)

implement: (sol2.jpg)

View solution in original post

0 Kudos
1 Reply
MikeRatcliffe
Occasional Contributor

A method to (1) check for MapView.Active, (2) CreateMapPaneAsync if no mapPane exists; which allows to perform operation after CreateMapPaneAsync is complete:

method: (sol1.jpg)

implement: (sol2.jpg)

0 Kudos