diff --git a/app/static/js/map.js b/app/static/js/map.js
new file mode 100644
index 00000000..f1a9260a
--- /dev/null
+++ b/app/static/js/map.js
@@ -0,0 +1,51 @@
+mapLink =
+ 'Esri';
+
+wholink =
+ 'i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community';
+
+var esri = L.tileLayer(
+ 'http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', {
+ attribution: '© '+mapLink+', '+wholink,
+ maxZoom: 18,
+});
+
+var positron = L.tileLayer(
+ "https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png", {
+ attribution: '© OpenStreetMap contributors, © CartoDB',
+});
+
+var wmsLayer = L.tileLayer.wms('https://map.bgs.ac.uk/arcgis/services/AGS/AGS_Export/MapServer/WMSServer?', {
+ layers: 'Boreholes',
+ format: 'image/png',
+ transparent: true,
+ attribution: "AGS Data from British Geological Survey",
+});
+
+var agsboreholes = L.featureGroup
+.ogcApi("https://ogcapi.bgs.ac.uk/", {
+ collection: "agsboreholeindex",
+ onEachFeature: function (feat, layer) {
+ var properties = feat.properties;
+ var popupContent = "AGS Borehole Information