diff --git a/docs/leaflet-demo/assets/Locke.png b/docs/leaflet-demo/assets/Locke.png new file mode 100644 index 000000000..fea68fd5d Binary files /dev/null and b/docs/leaflet-demo/assets/Locke.png differ diff --git a/docs/leaflet-demo/encounters/Multiple markers.md b/docs/leaflet-demo/encounters/Multiple markers.md new file mode 100644 index 000000000..291fe55a4 --- /dev/null +++ b/docs/leaflet-demo/encounters/Multiple markers.md @@ -0,0 +1,18 @@ +--- +marker: + - mapName: test + coordinates: 612, 862 + colour: "#f44546" + icon: lucide-swords + minZoom: -1 + - mapName: test + coordinates: 537, 1132 + colour: "#f44546" + icon: lucide-swords + minZoom: -0.5 + - mapName: test + coordinates: 710, 1400 + colour: "#f44546" + icon: lucide-swords + minZoom: -1 +--- diff --git a/docs/leaflet-demo/index.md b/docs/leaflet-demo/index.md new file mode 100644 index 000000000..3e788ece7 --- /dev/null +++ b/docs/leaflet-demo/index.md @@ -0,0 +1,17 @@ +_~ Beautiful flavour text ~_ + +```base +filters: file.hasProperty("marker") +views: + - type: leaflet-map + name: Map + mapName: test + image: Locke.png + minZoom: -1.5 + maxZoom: 2 + defaultZoom: -1.5 + zoomDelta: 0.5 + scale: "0.2" + height: 400 + unit: km +``` diff --git a/docs/leaflet-demo/locations/Abandoned Bridge.md b/docs/leaflet-demo/locations/Abandoned Bridge.md new file mode 100644 index 000000000..527f6320d --- /dev/null +++ b/docs/leaflet-demo/locations/Abandoned Bridge.md @@ -0,0 +1,8 @@ +--- +marker: + - mapName: test + coordinates: 443, 1447 + colour: "#039c4b" + icon: lucide-tree-pine + minZoom: -1 +--- diff --git a/docs/leaflet-demo/locations/Cinder Keep.md b/docs/leaflet-demo/locations/Cinder Keep.md new file mode 100644 index 000000000..acf08c840 --- /dev/null +++ b/docs/leaflet-demo/locations/Cinder Keep.md @@ -0,0 +1,8 @@ +--- +marker: + - mapName: test + coordinates: 654, 1112 + colour: "#f44546" + icon: lucide-castle + minZoom: -1 +--- diff --git a/docs/leaflet-demo/locations/Crossroad Keep.md b/docs/leaflet-demo/locations/Crossroad Keep.md new file mode 100644 index 000000000..9853fc2de --- /dev/null +++ b/docs/leaflet-demo/locations/Crossroad Keep.md @@ -0,0 +1,7 @@ +--- +marker: + - mapName: test + coordinates: 555, 1460 + icon: castle + minZoom: -1 +--- diff --git a/docs/leaflet-demo/locations/Elmbend.md b/docs/leaflet-demo/locations/Elmbend.md new file mode 100644 index 000000000..c9182c737 --- /dev/null +++ b/docs/leaflet-demo/locations/Elmbend.md @@ -0,0 +1,7 @@ +--- +marker: + - mapName: test + coordinates: 612, 1347 + icon: lucide-house + minZoom: -1 +--- diff --git a/docs/leaflet-demo/locations/Emerald Gills.md b/docs/leaflet-demo/locations/Emerald Gills.md new file mode 100644 index 000000000..de525fd70 --- /dev/null +++ b/docs/leaflet-demo/locations/Emerald Gills.md @@ -0,0 +1,8 @@ +--- +marker: + - mapName: test + coordinates: 536, 1637 + colour: "#039c4b" + icon: lucide-tree-pine + minZoom: -1 +--- diff --git a/docs/leaflet-demo/locations/Flathill.md b/docs/leaflet-demo/locations/Flathill.md new file mode 100644 index 000000000..ab7c7ccfc --- /dev/null +++ b/docs/leaflet-demo/locations/Flathill.md @@ -0,0 +1,7 @@ +--- +marker: + - mapName: test + coordinates: 779, 1141 + icon: lucide-house + minZoom: -1 +--- diff --git a/docs/leaflet-demo/locations/Goldenalden.md b/docs/leaflet-demo/locations/Goldenalden.md new file mode 100644 index 000000000..e25e930d2 --- /dev/null +++ b/docs/leaflet-demo/locations/Goldenalden.md @@ -0,0 +1,7 @@ +--- +marker: + - mapName: test + coordinates: 952, 1176 + icon: lucide-house + minZoom: -1 +--- diff --git a/docs/leaflet-demo/locations/Greenmouth.md b/docs/leaflet-demo/locations/Greenmouth.md new file mode 100644 index 000000000..83332834d --- /dev/null +++ b/docs/leaflet-demo/locations/Greenmouth.md @@ -0,0 +1,7 @@ +--- +marker: + - mapName: test + coordinates: 312, 1301 + icon: lucide-anchor + minZoom: -1 +--- diff --git a/docs/leaflet-demo/locations/Lockeborough.md b/docs/leaflet-demo/locations/Lockeborough.md new file mode 100644 index 000000000..2313d9711 --- /dev/null +++ b/docs/leaflet-demo/locations/Lockeborough.md @@ -0,0 +1,7 @@ +--- +marker: + - mapName: test + coordinates: 743, 1607 + colour: "#7623a5" + icon: lucide-landmark +--- diff --git a/docs/leaflet-demo/locations/Salvation Lookout.md b/docs/leaflet-demo/locations/Salvation Lookout.md new file mode 100644 index 000000000..688ad8080 --- /dev/null +++ b/docs/leaflet-demo/locations/Salvation Lookout.md @@ -0,0 +1,7 @@ +--- +marker: + - mapName: test + coordinates: 343, 1735 + minZoom: -1 + icon: lucide-shield +--- diff --git a/docs/leaflet-demo/locations/Skyreach Spire.md b/docs/leaflet-demo/locations/Skyreach Spire.md new file mode 100644 index 000000000..206b35195 --- /dev/null +++ b/docs/leaflet-demo/locations/Skyreach Spire.md @@ -0,0 +1,7 @@ +--- +marker: + - mapName: test + coordinates: 168, 1051 + icon: lucide-house + minZoom: -1 +--- diff --git a/docs/leaflet-demo/locations/Yellowdrum.md b/docs/leaflet-demo/locations/Yellowdrum.md new file mode 100644 index 000000000..47dfc71a6 --- /dev/null +++ b/docs/leaflet-demo/locations/Yellowdrum.md @@ -0,0 +1,7 @@ +--- +marker: + - mapName: test + coordinates: 480, 922 + icon: lucide-house + minZoom: -1 +---