Is there an event/property I can use to determine when functions like LocationToScreen() can be called? I noticed that I have to wait several hundred milliseconds until this function doesn't return (NaN, NaN).
Wait for the VisibleArea or SpatialReference property on the view has been established. You could also wait for the first ViewpointChanged event.
thanks. Waiting only for SpatialReference != null doesn't work, but waiting for VisibleArea != null seems to work.
Retrieving data ...