This updates the legacy phpVMS install to use Leaflet mapping library to replace the Google Maps integration. Using Leaflet, the base maps is interchangeable, the default setup uses the OpenStreetMap "Mapnik" style base layer. This can be changed (see the changes for MAP_TYPE
below). I recommend reading through the entire pull request just to familiarize yourself with the changes.
When viewing the diffs below, red are the lines to delete, and green would be to add.