Select to view content in your preferred language

Create ESRI Map in separate js file

4186
1
07-03-2015 02:13 AM
AleksandrShirokov
Deactivated User

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!

Tags (3)
0 Kudos
1 Reply
ChrisSmith7
Honored Contributor

This came-up before in another thread - have a loot at:

RequireJS and ArcGIS API for JS