2018-04-24 23:36:01 +02:00
|
|
|
{% extends "layout.html" %}
|
2018-09-06 21:59:28 +02:00
|
|
|
{% block expand_header %}
|
|
|
|
<link rel="stylesheet" href="/css/leaflet.css" integrity="sha512-puBpdR0798OZvTTbP4A8Ix/l+A4dHDD0DGqYW6RQ+9jxkRFclaxxQb/SJAWZfWAkuyeQUytO7+7N4QKrDh+drA==" crossorigin=""/>
|
|
|
|
<script src="/js/leaflet.js" integrity="sha512-nMMmRyTVoLYqjP9hrbed9S+FzjZHW5gY1TWCHA5ckwXZBadntCNs8kEqAWdrb9O7rxbCaA4lKTIWjDXZxflOcA==" crossorigin=""></script>
|
2018-09-20 21:01:32 +02:00
|
|
|
<link rel="stylesheet" href="https://bodensee.space/spaceapi/toolbox/spacestatus.css" />
|
2018-09-09 16:10:24 +02:00
|
|
|
<link rel="stylesheet" href="https://see-base.de/css/space_api.css" />
|
2018-09-06 21:59:28 +02:00
|
|
|
{% endblock %}
|
2018-04-24 23:36:01 +02:00
|
|
|
{% block title %}{{ this.title }}{% endblock %}
|
|
|
|
{% block body %}
|
|
|
|
<section class="wrapper alt spotlight style2">
|
|
|
|
<div class="inner">
|
|
|
|
<div class="content">
|
|
|
|
<h2 class="major">{{ this.title }}</h2>
|
|
|
|
{{ this.spruch }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<!-- Content -->
|
|
|
|
<div class="wrapper">
|
|
|
|
<div class="inner">
|
|
|
|
<h3 class="major">{{ this.subtitle }}</h3>
|
2018-09-06 21:59:28 +02:00
|
|
|
<!-- Content -->
|
|
|
|
<section id="content">
|
2018-09-09 16:10:24 +02:00
|
|
|
|
2018-09-09 16:37:44 +02:00
|
|
|
<div id="mapid" class="image fit" style="width: auto; height: 110vh; z-index: 1;"></div>
|
2018-09-09 16:10:24 +02:00
|
|
|
|
2018-09-06 21:59:28 +02:00
|
|
|
<script>
|
2018-09-09 16:37:44 +02:00
|
|
|
var mymap = L.map('mapid').setView([49.46, 9.05], 8);
|
2018-09-09 16:10:24 +02:00
|
|
|
|
|
|
|
var greenIcon = L.icon({
|
|
|
|
iconUrl: '/images/map.png',
|
|
|
|
shadowUrl: '/images/map-shadow.png',
|
|
|
|
|
|
|
|
iconSize: [52, 60], // size of the icon
|
|
|
|
shadowSize: [60, 60], // size of the shadow
|
|
|
|
iconAnchor: [26, 62], // point of the icon which will correspond to marker's location
|
|
|
|
shadowAnchor: [2, 55], // the same for the shadow
|
|
|
|
popupAnchor: [-3, -76] // point from which the popup should open relative to the iconAnchor
|
|
|
|
});
|
|
|
|
|
2018-09-06 21:59:28 +02:00
|
|
|
|
|
|
|
L.tileLayer('https://tiles.ffbsee.de:9090/{z}/{x}/{y}.png', {
|
|
|
|
maxZoom: 19,
|
|
|
|
attribution: 'Map data © <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, ' +
|
2018-09-09 16:10:24 +02:00
|
|
|
'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a> '
|
2018-09-06 21:59:28 +02:00
|
|
|
}).addTo(mymap);
|
|
|
|
|
2018-09-09 16:10:24 +02:00
|
|
|
|
|
|
|
L.marker([47.71234, 9.39956], {icon: greenIcon}).addTo(mymap)
|
|
|
|
.bindPopup("<aside><h3 style='color: black;'>Waffellager Bodensee:</h3><img src='/equipment/eisen.jpg'></img><br/><center>Kleines Waffeleisen</center></aside>").openPopup();
|
|
|
|
|
2018-09-09 16:37:44 +02:00
|
|
|
L.marker([49.8781, 8.65401], {icon: greenIcon}).addTo(mymap)
|
|
|
|
.bindPopup("<aside><h3 style='color: black;'>Waffellager Darmstadt:</h3><img src='/equipment/mini.jpg'></img><br/><center>Rowenta Waffeleisen</center></aside>").openPopup();
|
|
|
|
|
2018-09-09 16:10:24 +02:00
|
|
|
L.marker([47.77243, 9.19943], {icon: greenIcon}).addTo(mymap)
|
|
|
|
.bindPopup("<aside><h3 style='color: black;'>Waffellager Bodensee:</h3><img src='/equipment/doppeleisen.jpg'></img><br/><center>Großes Waffeleisen</center></aside>").openPopup();
|
|
|
|
|
|
|
|
|
2018-09-09 16:37:44 +02:00
|
|
|
L.polygon([
|
|
|
|
[49.87814327607132, 8.653730368550693],
|
|
|
|
[49.8780226890993, 8.653828203678133],
|
|
|
|
[49.87818731851169, 8.654329776763918],
|
|
|
|
[49.878306512632534, 8.654230535030367]],
|
|
|
|
{
|
|
|
|
color: 'ForestGreen ',
|
|
|
|
fillColor: 'ForestGreen ',
|
|
|
|
fillOpacity: 0.5
|
|
|
|
}).addTo(mymap).bindPopup("<aside><b>Platinengarten</b></aside>");
|
|
|
|
L.circle([49.87807977529451, 8.65401059389114], 2, {
|
|
|
|
color: 'DarkGreen',
|
|
|
|
fillColor: 'DarkGreen',
|
|
|
|
fillOpacity: 0.5
|
|
|
|
}).addTo(mymap).bindPopup("Eingang");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-09 16:10:24 +02:00
|
|
|
L.polygon([
|
|
|
|
[47.77244138, 9.19947267],
|
|
|
|
[47.77241975, 9.19938147],
|
|
|
|
[47.77244499, 9.19931710],
|
|
|
|
[47.77252791, 9.19920444],
|
|
|
|
[47.77259641, 9.19923663],
|
|
|
|
[47.77260001, 9.19926345],
|
|
|
|
[47.77249907, 9.19939756]],
|
|
|
|
{
|
|
|
|
color: '#5eba5e',
|
|
|
|
fillColor: '#5eba5e',
|
|
|
|
fillOpacity: 0.5
|
|
|
|
}).addTo(mymap).bindPopup("<aside><b>see-base</b><br /><a id='sb-closed' class='special button' style='background: FireBrick;'>Hackerspace geschlossen!</a><a id='sb-opened' class='special button' style='background-color: LimeGreen !important;'>Hackerspace offen!</a></aside>");
|
|
|
|
L.circle([47.77243191425533, 9.199432432651522], 2, {
|
|
|
|
color: 'blue',
|
|
|
|
fillColor: 'blue',
|
|
|
|
fillOpacity: 0.5
|
|
|
|
}).addTo(mymap).bindPopup("Eingang");
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-06 21:59:28 +02:00
|
|
|
L.polygon([
|
|
|
|
[47.71242900, 9.39956546],
|
|
|
|
[47.71231350, 9.39980686],
|
|
|
|
[47.71222687, 9.39971030],
|
|
|
|
[47.71229545, 9.39956009],
|
|
|
|
[47.71223409, 9.39949036],
|
|
|
|
[47.71227740, 9.39939916]], {
|
|
|
|
color: 'orange',
|
|
|
|
fillColor: 'orange',
|
|
|
|
fillOpacity: 0.5
|
2018-09-09 16:10:24 +02:00
|
|
|
}).addTo(mymap).bindPopup("<aside><b>Toolbox Bodensee e.V.</b><br /><a id='tb-closed' class='special button' style='background: FireBrick;'>Vereinsheim geschlossen!</a><a id='tb-opened' class='special button' style='background-color: LimeGreen !important;'>Vereinsheim offen!</a></aside>");
|
2018-09-06 21:59:28 +02:00
|
|
|
|
2018-09-09 16:10:24 +02:00
|
|
|
L.circle([47.71229545, 9.39956009], 2, {
|
2018-09-06 21:59:28 +02:00
|
|
|
color: 'red',
|
|
|
|
fillColor: 'red',
|
|
|
|
fillOpacity: 0.5
|
|
|
|
}).addTo(mymap).bindPopup("Eingang");
|
|
|
|
|
|
|
|
</script>
|
|
|
|
<br/>
|
|
|
|
|
2018-04-24 23:36:01 +02:00
|
|
|
{{ this.body }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|