Hi:
I am a newbie to ArcGIS javascript. I meet a problem about develop a map application.
After test and try, I found there must be set basemap in map class first, like following:
Solved! Go to Solution.
It appears the fourth item listed under the "Creating a Basemap" section of the Basemap module documentation is what you're looking for.
It appears the fourth item listed under the "Creating a Basemap" section of the Basemap module documentation is what you're looking for.