AnsweredAssumed Answered

Create map with local copy of ArcGIS

Question asked by mshah12 on Oct 22, 2018
Latest reply on Oct 23, 2018 by mshah12



I have to have a local copy of the ArcGIS for JS v. 3.22 for a project I am currently doing and I am having trouble creating a map inside an HTML div. In many of the  samples I see that 

<script src=" version number here/"></script>


is added to the top of the HTML page and when I add the same tag, the map does show up but when I instead have:


<script </script>


then I have nothing show up on the screen for a map? I have an error that says: "Uncaught SyntaxError: Unexpected token <" in the console whenever I have the above script in the HTML page (I only get it when I have the above line of code). 


Does anyone have an idea of how to get a map to show up on the page while having a local copy of the api?


Thank you!