2023-09-15 15:53:33 +00:00
|
|
|
{% include 'includes/head.twig' with {'pageTitle': 'Map'} %}
|
2023-09-15 15:48:05 +00:00
|
|
|
|
2023-09-18 16:10:55 +00:00
|
|
|
<div id="map"></div>
|
|
|
|
<a id="homeLink" href="/">Go Home</a>
|
2023-09-15 15:48:05 +00:00
|
|
|
|
2023-09-18 16:10:55 +00:00
|
|
|
<script>
|
|
|
|
let map = L.map('map', {
|
|
|
|
zoomControl: false,
|
|
|
|
scrollWheelZoom: false,
|
|
|
|
doubleClickZoom: false,
|
|
|
|
}).setView([-36.3, -41.3], 4);
|
|
|
|
|
|
|
|
L.tileLayer('https://cdn.theclashfruit.me/crss/map/tile_{x}x{y}y.png', {
|
|
|
|
attribution: '© <a href="https://crss.blurryface.xyz/">CRSS</a> players',
|
|
|
|
noWrap: true
|
|
|
|
}).addTo(map);
|
|
|
|
|
|
|
|
|
|
|
|
L.marker([-36.3, -41.3])
|
|
|
|
.addTo(map)
|
|
|
|
.bindPopup('Spawn Town in Republic of Panorama');
|
|
|
|
</script>
|
2023-09-15 15:48:05 +00:00
|
|
|
|
|
|
|
{% include 'includes/foot.twig' %}
|