Geospatial applications and S3 web hosting
In the previous section, I mentioned how easy it is to upload a simple HTML website to S3 to get up and running. But the real power of these sites is when you combine them with JavaScript. There are a number of geospatial JavaScript libraries that can be run straight from S3. The setup is as easy as downloading the source files from GitHub and uploading them to S3. A few of the big geospatial client libraries that you’ll see deployed this way are MapLibre, Mapbox GL, ArcGIS JavaScript, and Leaflet. For the demo in this chapter, we will deploy Leaflet on S3. All of these libraries are powerful and well adopted in the industry, but Leaflet stands out a bit because of its support for both open source and OGC standards, as well as its integration with Esri ArcGIS standards. Mapbox obviously has good integration with Mapbox services, and then you have MapLibre, which is the open source fork of the Mapbox GL library. Lastly, the ArcGIS API...