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?
Solved! Go to Solution.
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)