Skip to content

Commit

Permalink
adding maps
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahDal committed Oct 26, 2024
1 parent 78ab983 commit 732cbe9
Show file tree
Hide file tree
Showing 53 changed files with 4,660 additions and 389 deletions.
66 changes: 33 additions & 33 deletions docs/feed.xml

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions docs/maps/6a7ae25e889084d980c1b28670636b9f70511c22/index.html

This file was deleted.

63 changes: 0 additions & 63 deletions docs/maps/6a7ae25e889084d980c1b28670636b9f70511c22/map.html

This file was deleted.

56 changes: 0 additions & 56 deletions docs/maps/Walks.html

This file was deleted.

Binary file removed docs/maps/grunge_patterns.jpg
Binary file not shown.
134 changes: 0 additions & 134 deletions docs/maps/index.html

This file was deleted.

63 changes: 0 additions & 63 deletions docs/maps/map.html

This file was deleted.

14 changes: 7 additions & 7 deletions docs/northumberland/2024/02/24/RorysStill.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ <h1 id="page-title" class="page__title" itemprop="headline">Rory’s Still

<p>I found the actual exact locations of the stills by searching on Geograph - local historian Andrew Curtis put together <a href="https://www.geograph.org.uk/snippet/5569">a selection of photographs and locations for them</a>.</p>

<div id="leaflet-map-30f1d1227b19a61e3b54664a42b4a20f" class="leaflet-map"></div>
<div id="leaflet-map-c362a0715c55874376d0213f253caf57" class="leaflet-map"></div>
<script>(() => {
// Specify configuration variables, setup any elements and styling
var leafletCdn = "https://unpkg.com/[email protected]/dist/";
Expand All @@ -269,28 +269,28 @@ <h1 id="page-title" class="page__title" itemprop="headline">Rory’s Still
"zoom" : 11,
"providerBasemap": "OpenTopoMap" } ;
var blockLeafletItems = [
{id: "3da35fdb406ca306e7de6842568aad5f",
{id: "285ef08c67b43a3d3bd683af98c61574",
type: "LeafletMarker",
value: { "latitude" : 55.413560,
"longitude" : -2.284758,
"popupContent" : "Blindburn Still"} },
{id: "e1a9bf09d27e5773403a3e8a70beeb5b",
{id: "f83a570e6ef6fdbf0d37fea889bb6d07",
type: "LeafletMarker",
value: { "latitude" : 55.379630,
"longitude" : -2.168993,
"popupContent" : "Wholehope Still"} },
{id: "c3c14a85d5dcb4eb0736fc8e4fa90313",
{id: "e1715032300d4e5df1c92f394e3830c6",
type: "LeafletMarker",
value: { "latitude" : 55.4304,
"longitude" : -2.1864,
"popupContent" : "Rory's Still"} },
{id: "77a292f0bac78f4aad0d7a8da90e20d6",
{id: "43b87e53d2d69c94167718aea8046e00",
type: "LeafletGeoJSON",
value: "/assets/geojson/Usway.geojson" },
];

// Override the map div id if specified, apply default CSS
var defaultMapElId = "leaflet-map-30f1d1227b19a61e3b54664a42b4a20f";
var defaultMapElId = "leaflet-map-c362a0715c55874376d0213f253caf57";
var defaultMapElStyle = "height:300px; margin-top:15px; margin-bottom:15px";
var mapEl = document.getElementById(defaultMapElId);
if('divId' in tagInputArg){
Expand Down Expand Up @@ -423,7 +423,7 @@ <h1 id="page-title" class="page__title" itemprop="headline">Rory’s Still

//The actual section that is called that creates a map
function createMap(){
console.log("Creating map 30f1d1227b19a61e3b54664a42b4a20f with these args:");
console.log("Creating map c362a0715c55874376d0213f253caf57 with these args:");
console.log(tagInputArg);

//Initialize Map with the correct input arguments
Expand Down
Loading

0 comments on commit 732cbe9

Please sign in to comment.