mirror of
https://github.com/publiclab/mapknitter.git
synced 2025-12-05 16:00:00 +01:00
37 lines
1.7 KiB
HTML
37 lines
1.7 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta charset="utf-8"/>
|
|
<title>MapKnitter | static archive</title>
|
|
|
|
<link rel="stylesheet" href="https://jywarren.github.io/markdown-pages/node_modules/spectre-markdown.css/dist/markdown.css">
|
|
<link rel="stylesheet"
|
|
href="https://fonts.googleapis.com/css2?family=Lora">
|
|
<link rel="stylesheet" href="https://jywarren.github.io/markdown-pages-template/style.css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<a href="#">MapKnitter</a>
|
|
</header>
|
|
<div class="md-pages markdown-css responsive"></div>
|
|
<!--
|
|
https://mapknitter.org/map/tidwell-park
|
|
should become:
|
|
https://publiclab.github.io/Leaflet.DistortableImage/examples/archive?json=https://archive.org/download/mapknitter-wayback/tidwell-park.json
|
|
and same with https://mapknitter.org/embed/tidwell-park
|
|
-->
|
|
<script>
|
|
if (window.location == "https://mapknitter.org/") {
|
|
window.location = "https://publiclab.github.io/Leaflet.DistortableImage/examples/archive";
|
|
} else if (window.location.href.split('/')[4] == "embed") {
|
|
var path = "https://publiclab.github.io/Leaflet.DistortableImage/examples/archive?json=https://archive.org/download/mapknitter-wayback/" + document.location.href.split('.org/embed/')[1] + ".json";
|
|
window.location = path;
|
|
} else {
|
|
var path = "https://publiclab.github.io/Leaflet.DistortableImage/examples/archive?json=https://archive.org/download/mapknitter-wayback/" + document.location.href.split('.org/map/')[1] + ".json";
|
|
window.location = path;
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|