Commit 5d901bbc authored by Marcel Reinmuth's avatar Marcel Reinmuth

Update analytics.js change url of wms due to false forwarding to an outdated wms address.

parent 86e29620
......@@ -121,7 +121,7 @@ function addTileLayers(project_id){
mapControl.removeLayer(AgreementLayer);
}
YesLayer = new L.tileLayer.wms('http://mapswipe.geog.uni-heidelberg.de:8080/geoserver/ms_layers/wms?&tiled=true', {
YesLayer = new L.tileLayer.wms('http://mapswipe.heigit.org:8080/geoserver/ms_layers/wms?&tiled=true', {
layers: layer_name,
styles: 'yes_count',
format: 'image/png',
......@@ -129,7 +129,7 @@ function addTileLayers(project_id){
opacity: 0.7
}).addTo(map);
MaybeLayer = new L.tileLayer.wms('http://mapswipe.geog.uni-heidelberg.de:8080/geoserver/ms_layers/wms?&tiled=true', {
MaybeLayer = new L.tileLayer.wms('http://mapswipe.heigit.org:8080/geoserver/ms_layers/wms?&tiled=true', {
layers: layer_name,
styles: 'maybe_count',
format: 'image/png',
......@@ -137,7 +137,7 @@ function addTileLayers(project_id){
opacity: 0.7
})//.addTo(map);
BadLayer = new L.tileLayer.wms('http://mapswipe.geog.uni-heidelberg.de:8080/geoserver/ms_layers/wms?&tiled=true', {
BadLayer = new L.tileLayer.wms('http://mapswipe.heigit.org:8080/geoserver/ms_layers/wms?&tiled=true', {
layers: layer_name,
styles: 'bad_count',
format: 'image/png',
......@@ -145,7 +145,7 @@ function addTileLayers(project_id){
opacity: 0.7
})//.addTo(map);
ProgressLayer = new L.tileLayer.wms('http://mapswipe.geog.uni-heidelberg.de:8080/geoserver/ms_layers/wms?&tiled=true', {
ProgressLayer = new L.tileLayer.wms('http://mapswipe.heigit.orge:8080/geoserver/ms_layers/wms?&tiled=true', {
layers: layer_name,
styles: 'task_completedcount',
format: 'image/png',
......@@ -153,7 +153,7 @@ function addTileLayers(project_id){
opacity: 0.7
})//.addTo(map);
AgreementLayer = new L.tileLayer.wms('http://mapswipe.geog.uni-heidelberg.de:8080/geoserver/ms_layers/wms?&tiled=true', {
AgreementLayer = new L.tileLayer.wms('http://mapswipe.heigit.org:8080/geoserver/ms_layers/wms?&tiled=true', {
layers: layer_name,
styles: 'agreement',
format: 'image/png',
......@@ -186,7 +186,7 @@ var cur_project;
//adjusts the legend to the shown layer
// function setLegend(style) {
// document.getElementById("legend").style.display = 'block';
// document.getElementById("legend").src = "http://mapswipe.geog.uni-heidelberg.de:8080/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=task_final_1&STYLE=" + style;
// document.getElementById("legend").src = "http://mapswipe.heigit.org:8080/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=task_final_1&STYLE=" + style;
// }
function showAnalyticsDiv(){
document.getElementById("leaflet_map").className = 'col-md-8'
......
Markdown is supported
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