For future reference, difference is that the "onLoad" or on('onload') are not needed. Neither is the startup().
Current location of the sample is here:
Display Bing maps in basemap gallery | ArcGIS API for JavaScript
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.