Generating an HTML file using ArcGIS API for JavaScript
You now have a shapefile with all of the data collected hosted via ArcGIS Online. This can be used to create a web app using HTML, CSS, and JavaScript, the final stage of this chapter’s case study. It’s a bit different from what we’ve been doing so far, but will make for a pretty and interactive web map based on the data you just created.
You can look at the completed HTML file in the code folders for the final result if you encounter any issues.
We will not be writing any Python code in this section, but by using the ArcGIS API for JavaScript and some HTML tags, it will demonstrate how we can extend what we have done so far to create an interface that is very useful to an end user:
- Create an HTML file in a text editor of your choice.
- Add in HTML tags,
<html></html>
. Everything will occur between these two tags. - Following those tags, add in the head...