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.
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 }
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.