Hello,
I'm trying to run the sample from this site Get started with MapView - Create a 2D map | ArcGIS API for JavaScript 4.1 , but the map doesn't show?
If you you have any idea, plz share it
Thank you
I'll try it
Ahmed,
If you do not have a web server (like IIS on your machine) then you can not run html files from your machine. Running files with a url like this will not work:
file:///C:/JS_Workspace/EXPORT_FeatureTable.html
I tried it, but nothing the map doesn't show up
I copied and pasted in html file. I don't have web server
Have you tried running the sample in different browsers? Sometimes cleaning out the cookies can kickstart a hung website. I would advise cleaning out your cookies and switching to a new browser temporarily if that doesn't work. Let me know if this works and if not we can go from there. Cheers!
What do you mean
I'm trying to run the sample from this site
You copied the html code to a html file on your web server and the map is not showing?
Are there any errors in your browsers web console?
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.