Hi!
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).
-Alexander
Hi Morten,
thanks. Waiting only for SpatialReference != null doesn't work, but waiting for VisibleArea != null seems to work.
Wait for the VisibleArea or SpatialReference property on the view has been established. You could also wait for the first ViewpointChanged event.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.