Add Chaospott

This commit is contained in:
L3D 2019-04-03 22:02:41 +02:00
parent 3ba2195127
commit f75e061b26

View file

@ -1,4 +1,4 @@
var mymap = L.map('mapid').setView([47, 9.2], 7); var mymap = L.map('mapid').setView([47, 9.2], 6);
var greenIcon = L.icon({ var greenIcon = L.icon({
iconUrl: '/images/map.png', iconUrl: '/images/map.png',
@ -12,12 +12,15 @@ var greenIcon = L.icon({
}); });
L.tileLayer('https://tiles.ffbsee.de:9090/{z}/{x}/{y}.png', { // L.tileLayer('https://tiles.ffbsee.de:9090/{z}/{x}/{y}.png', {
L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', {
maxZoom: 19, maxZoom: 19,
attribution: 'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, ' + attribution: 'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, ' +
'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a> ' '<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a> '
}).addTo(mymap); }).addTo(mymap);
L.marker([51.4385, 7.0250], {icon: greenIcon}).addTo(mymap)
.bindPopup("<aside><center><h3 style='color: black;'>Chaospott:</h3><a href='https://chaospott.de/'>Chaos Computer Club Essen</a><br/>Chaospott Essen</center></aside>").openPopup();
L.marker([47.71234, 9.39956], {icon: greenIcon}).addTo(mymap) L.marker([47.71234, 9.39956], {icon: greenIcon}).addTo(mymap)
.bindPopup("<aside><center><h3 style='color: black;'>Waffellager Bodensee:</h3><a href='https://toolbox-bodensee.de/'>Hack- und Makespace Toolbox Bodensee e.V.</a><br/>Kleines Waffeleisen</center></aside>").openPopup(); .bindPopup("<aside><center><h3 style='color: black;'>Waffellager Bodensee:</h3><a href='https://toolbox-bodensee.de/'>Hack- und Makespace Toolbox Bodensee e.V.</a><br/>Kleines Waffeleisen</center></aside>").openPopup();
@ -29,6 +32,7 @@ var greenIcon = L.icon({
.bindPopup("<aside><center><h3 style='color: black;'>Waffellager Bodensee:</h3><a href='https://see-base.de'>Hackerspace see-base</a><br/>Großes Waffeleisen</center></aside>").openPopup(); .bindPopup("<aside><center><h3 style='color: black;'>Waffellager Bodensee:</h3><a href='https://see-base.de'>Hackerspace see-base</a><br/>Großes Waffeleisen</center></aside>").openPopup();
L.polygon([ L.polygon([
[49.87814327607132, 8.653730368550693], [49.87814327607132, 8.653730368550693],
[49.8780226890993, 8.653828203678133], [49.8780226890993, 8.653828203678133],