Skip to content

Commit

Permalink
Merge branch 'master' into feature/add-totk-support
Browse files Browse the repository at this point in the history
Also reverting changes to index to avoid automatic TotK spoilers.
  • Loading branch information
Pysis868 committed May 10, 2023
2 parents a45a42b + 4ced4c5 commit d6c7eb8
Show file tree
Hide file tree
Showing 7 changed files with 131 additions and 115 deletions.
Empty file modified dev/assets/tiles/mapTiles/all.fish
100644 → 100755
Empty file.
Empty file modified dev/assets/tiles/mapTiles/run.fish
100644 → 100755
Empty file.
Empty file modified dev/assets/tiles/pathConversion.fish
100644 → 100755
Empty file.
Empty file modified dev/assets/tiles/placeholderTiles/centered.fish
100644 → 100755
Empty file.
Empty file modified dev/assets/tiles/switch/games/lafs/assembleDgnTiles.fish
100644 → 100755
Empty file.
Empty file modified dev/db/createSampleDatabaseExport/run.sh
100644 → 100755
Empty file.
246 changes: 131 additions & 115 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,105 +1,114 @@
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="images/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="apple-touch-icon" href="images/apple-touch-icon-precomposed.png" />
<title>Tears of the Kingdom Interactive Map - Zelda Maps</title>
<meta charset="utf-8" />
<meta name="robots" content="index, follow">
<meta name="keywords" content="Zelda, totk interactive map, tears of the kingdom interactive map, interactive map, map, totk, TotK, Tears of the Kingdom, Zelda Maps, tears of the kingdom map, totk map, Hyrule, hyrule map, totk guide" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, viewport-fit=cover" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />

<meta name='owner' content='Zelda Universe (zeldauniverse.net) &amp; Hyrule Legends (zelda.com.br)'>
<meta property="og:locale:alternate" content="en_US" />
<meta property="og:type" content="activity" />
<meta property="og:url" content="https://zeldamaps.com" />
<meta property="og:site_name" content="Zelda Maps" />
<meta property="og:locale" content="en_US" />

<meta property="og:title" content="Zelda Maps" />
<meta property="og:description" content="Zelda Maps provides rich interactive maps of Hyrule from the The Legend of Zelda with detailed descriptions for each location, character, easter egg and more."/>
<!-- Page Header / Meta Info -->
<section>
<link rel="shortcut icon" href="images/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="apple-touch-icon" href="images/apple-touch-icon-precomposed.png" />
<title>Breath of the Wild Interactive Map - Zelda Maps</title>
<meta charset="utf-8" />
<meta name="robots" content="index, follow">
<meta name="keywords" content="Zelda, botw interactive map, breath of the wild interactive map, interactive map, map, botw, BotW, Breath of the Wild, Zelda Maps, breath of the wild map, botw map, Hyrule, hyrule map, botw guide" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, viewport-fit=cover" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />

<meta name='owner' content='Zelda Universe (zeldauniverse.net) &amp; Hyrule Legends (zelda.com.br)'>
<meta property="og:locale:alternate" content="en_US" />
<meta property="og:type" content="activity" />
<meta property="og:url" content="https://zeldamaps.com" />
<meta property="og:site_name" content="Zelda Maps" />
<meta property="og:locale" content="en_US" />

<meta property="og:title" content="Zelda Maps" />
<meta property="og:description" content="Zelda Maps provides rich interactive maps of Hyrule from the The Legend of Zelda with detailed descriptions for each location, character, easter egg and more."/>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="en-us" />
<meta name="description" content="Zelda Maps provides rich interactive maps of Hyrule from the The Legend of Zelda with detailed descriptions for each location, character, easter egg and more." />

<meta http-equiv="Content-Security-Policy" content="
default-src *;
img-src * 'unsafe-inline' 'unsafe-eval' data:;
script-src * 'unsafe-inline' 'unsafe-eval';
style-src * 'unsafe-inline';
">

<!-- Third-Party LIBs -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.5.1/leaflet.js"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/all.js" integrity="sha384-xymdQtn1n3lH2wcu0qhcdaOpQwyoarkgLVxC/wZ5q7h9gHtxICrpcaSUfygqZGOe" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.0.4/fuse.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.0.16/tinymce.min.js"></script>
<script>tinymce.init({ selector:'textarea' });</script>

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.5.1/leaflet.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css" />

<!-- LIBs -->
<script type="text/javascript" src="res.php?type=javascript"></script>
<link rel="stylesheet" type="text/css" href="res.php?type=css" />
<meta http-equiv="Content-Security-Policy" content="
default-src *;
img-src * 'unsafe-inline' 'unsafe-eval' data:;
script-src * 'unsafe-inline' 'unsafe-eval';
script-src-elem * 'unsafe-inline' 'unsafe-eval';
style-src * 'unsafe-inline';
">
</section>

<script>
var urlParams;
$(function(){
(window.onpopstate = function () {
var match,
<!-- Third-Party Code -->
<section>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.5.1/leaflet.js"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/all.js" integrity="sha384-xymdQtn1n3lH2wcu0qhcdaOpQwyoarkgLVxC/wZ5q7h9gHtxICrpcaSUfygqZGOe" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.0.4/fuse.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.0.16/tinymce.min.js"></script>
<script>tinymce.init({ selector:'textarea' });</script>
</section>

<!-- Third-Party Styles -->
<section>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.5.1/leaflet.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css" />
</section>

<!-- First-Party Code & Style -->
<section>
<script type="text/javascript" src="res.php?type=javascript"></script>
<link rel="stylesheet" type="text/css" href="res.php?type=css" />

<script>
var urlParams = {};

$(function() {
(window.onpopstate = function () {
var
match,
pl = /\+/g, // Regex for replacing addition symbol with a space
search = /([^&=]+)=?([^&]*)/g,
decode = function (s) { return decodeURIComponent(s.replace(pl, " ")); },
query = window.location.search.substring(1);
decode = function (s) {
return decodeURIComponent(s.replace(pl, " "));
},
query = window.location.search.substring(1)
;

urlParams = {};
while (match = search.exec(query))
urlParams[decode(match[1])] = decode(match[2]);
})();
var game = urlParams["game"];
if(game === undefined) {
debugger;
window.location.href = "?game=totk";
}
$.getJSON("ajax.php?command=get_container_name&game="+game, function(data) {
if(!data.success) {
document.title="Zelda Maps";
return;
}
document.title=data.name+" Interactive Map - Zelda Maps";
});
});
</script>

<!-- Internal LIBS -->
<!--
<script src="scripts/zmap.js"></script>
<script src="scripts/zmain.js"></script>
<script src="scripts/Control.ZLayers2.js"></script>
<link rel="stylesheet" href="scripts/zmain.css" />
-->
while (match = search.exec(query)) {
urlParams[decode(match[1])] = decode(match[2]);
}
})();

</head>
var game = urlParams["game"];
if(game === undefined) {
window.location.href = "?game=BotW";
}
$.getJSON(
"ajax.php?command=get_container_name&game=" + game,
function(data){
if(!data.success) {
document.title="Zelda Maps";
return;
}
document.title=data.name+" Interactive Map - Zelda Maps";
}
);
});
</script>
</section>
</head>
<body>
<div id="map">
<div id="mobileAds" align="center">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Zelda Maps -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-7269573247649351"
data-ad-slot="4512666333"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-7269573247649351"
data-ad-slot="4512666333"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div id="desktopAds" align="center">
<script>
Expand All @@ -121,43 +130,50 @@
document.getElementById('desktopAds').style.height = adsHeight + 'px';
</script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Zelda Maps -->
<ins class="adsbygoogle infeed"
style="display:block;"
data-ad-client="ca-pub-7269573247649351"
data-ad-slot="4512666333"
data-ad-format="horizontal"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

<ins class="adsbygoogle infeed"
style="display:block;"
data-ad-client="ca-pub-7269573247649351"
data-ad-slot="4512666333"
data-ad-format="horizontal"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>

<!-- Zelda Maps -->
</div>

<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-317947-14', 'auto');
ga('send', 'pageview');
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-317947-14', 'auto');
ga('send', 'pageview');
</script>

<!-- comScore -->
<script>
var _comscore = _comscore || [];
_comscore.push({ c1: "2", c2: "6035118" });
(function() {
var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true;
s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js";
el.parentNode.insertBefore(s, el);
})();
</script>
<noscript>
<img src="http://b.scorecardresearch.com/p?c1=2&amp;c2=6035118&amp;cv=2.0&amp;cj=1" />
</noscript>

<!-- Nielsen Online SiteCensus -->
<div><img src="//secure-us.imrworldwide.com/cgi-bin/m?ci=us-603339h&amp;cg=0&amp;cc=1&amp;ts=noscript" width="1" height="1" alt="" /></div>
<script>
var _comscore = _comscore || [];
_comscore.push({ c1: "2", c2: "6035118" });
(function() {
var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true;
s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js";
el.parentNode.insertBefore(s, el);
})();
</script>

<!-- scorecardresearch noscript image -->
<noscript>
<img src="http://b.scorecardresearch.com/p?c1=2&amp;c2=6035118&amp;cv=2.0&amp;cj=1" />
</noscript>

<!-- Nielsen Online SiteCensus -->
<div>
<img src="//secure-us.imrworldwide.com/cgi-bin/m?ci=us-603339h&amp;cg=0&amp;cc=1&amp;ts=noscript" width="1" height="1" alt="" />
</div>
</body>
</html>

0 comments on commit d6c7eb8

Please sign in to comment.