Article From:

Refer to the online blog for offline deployment, make an old error, find out the reason, and view the browser console, prompt.

For some reason, refer to the original tutorial in ArcGIS API. Finally, the test is successful. Compared with other online tutorials, the difference is that the sample used is not the same.

<script src=”http://localhost/arcgis_js_api/library/4.7/”></script>

And the API tutorial is like this:

<script src=”http://localhost/arcgis_js_api/library/4.7/dojo/dojo.js”></script>

Why can the latter run successfully? Who knows, leave a message and tell me!!!


Leave a Reply

Your email address will not be published. Required fields are marked *