Commit 6156b9ea authored by Elias Englmeier's avatar Elias Englmeier
Browse files

added Kassel map

parent a80a954c
......@@ -25,11 +25,16 @@
$(document).ready(function(){
//init the map
var map = L.map('map').setView([0.0, 0.0], 12);
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',{
map.options.minZoom = 11;
var wmsUrl = 'https://geoportal.stadt-kassel.de/arcgis/services/Raster/Geoportal_WebMaps_WGS84/MapServer/WMSServer?';
L.tileLayer.wms(wmsUrl,{
layers:'1:4.514,1:9.028,1:18.056,1:36.112,1:72.224,1:144.448,1:288.895'
}).addTo(map);
/* L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',{
maxZoom: 18,
id: 'mapbox.streets',
accessToken: 'your.mapbox.access.token'
}).addTo(map);
}).addTo(map); */
//load markers from server
var ideasJsonArray = JSON.parse('${allIdeas}');
......
......@@ -25,11 +25,16 @@
$(document).ready(function(){
//init the map
var map = L.map('map').setView([0.0, 0.0], 12);
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',{
map.options.minZoom = 11;
var wmsUrl = 'https://geoportal.stadt-kassel.de/arcgis/services/Raster/Geoportal_WebMaps_WGS84/MapServer/WMSServer?';
L.tileLayer.wms(wmsUrl,{
layers:'1:4.514,1:9.028,1:18.056,1:36.112,1:72.224,1:144.448,1:288.895'
}).addTo(map);
/* L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',{
maxZoom: 18,
id: 'mapbox.streets',
accessToken: 'your.mapbox.access.token'
}).addTo(map);
}).addTo(map); */
//load markers from server
var ideasJsonArray = JSON.parse('${allIdeas}');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment