diff --git a/www/map.js b/www/map.js
index 5f563ab..157345f 100644
--- a/www/map.js
+++ b/www/map.js
@@ -61,6 +61,12 @@ function addEventMarker(id, lat, lng, mag, type) {
case 'earthquake':
marker = L.starMarker(L.latLng(lat, lng), markerOptions);
break;
+ case 'explosion':
+ markerOptions['numberOfSides'] = 6;
+ markerOptions['radius'] = 2.0*markerOptions['radius'];
+ markerOptions['innerRadius'] = 0.3*markerOptions['radius'];
+ marker = L.regularPolygonMarker(L.latLng(lat, lng), markerOptions);
+ break;
case 'quarry blast':
markerOptions['numberOfPoints'] = 7;
markerOptions['innerRadius'] = 0.3*markerOptions['radius'];
@@ -152,6 +158,12 @@ $(document).ready(function() {
attribution: 'Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community'
}).addTo(map);
break;
+ case 'komoot': // add OpenStreetMap.DE tile layer
+ L.tileLayer('//www.komoot.de/tiles/{s}/{z}/{x}/{y}.png',
+ {
+ attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA | Tiles Courtesy of Komoot',
+ }).addTo(map);
+ break;
case 'mapquestgray': // add MapQuestOSM tile layer
L.tileLayer.grayscale('http://otile{s}.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpg',
{
diff --git a/www/map.js.en b/www/map.js.en
index 44c6fde..867aef8 100644
--- a/www/map.js.en
+++ b/www/map.js.en
@@ -158,6 +158,12 @@ $(document).ready(function() {
attribution: 'Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community'
}).addTo(map);
break;
+ case 'komoot': // add OpenStreetMap.DE tile layer
+ L.tileLayer('//www.komoot.de/tiles/{s}/{z}/{x}/{y}.png',
+ {
+ attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA | Tiles Courtesy of Komoot',
+ }).addTo(map);
+ break;
case 'mapquestgray': // add MapQuestOSM tile layer
L.tileLayer.grayscale('http://otile{s}.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpg',
{
@@ -214,8 +220,4 @@ $(document).ready(function() {
};
});
});
-
- // print icon
- // L.easyPrint().addTo(map);
-
});