Hello everyone!
I just started looking at the ArcGIS APi and I am confused from the very beginning .
In the tutorial of how to create a simple base map, the code is injected into html page with <script> tag. But when I try to put this code into separate JS file its not working. Am I doing something wrong?
Thank you!
This came-up before in another thread - have a loot at: