Fires when the first or base layer has been successfully added to the map.
onLayerAddResult(layer, error) Fires after specified layer has been added to the map.
try { map = new esri.Map()... } catch (e) { //get error message }
The "stipulation" of successfully loading the base layer onto a map you reference before OnLoad fires is actually the issue I was describing.It wasn't throwing an error I could catch in a try/catch block.I will look into the OnLayerAddResult event.Thank you.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.