afrocodes

ArcGIS API JS Tutorial Maps Showing Up Blank

Discussion created by afrocodes on May 22, 2014
Latest reply on May 22, 2014 by jeff.pace
Hi,

I want to add a map that I created on ArcGIS Online to my website (currently developing locally; I haven't uploaded the page to my server yet).

I have tried to follow the tutorials listed here for doing that: https://developers.arcgis.com/javascript/jssamples/ags_createwebmapitem.html, and when I copy and paste the code and save the file, and open the local html file in a browser, nothing shows up!

I even tried using my own web map id in the code, and still nothing shows up. (I have made my ArcGIS online map public).

When I do the basic, add a map to your website tutorial, a map shows up. But when I want to show a map from ArcGIS online, nothing shows.

Why is it doing this?

Thanks.

Outcomes