diff --git a/vcm/js/here.js b/vcm/js/here.js index d123023da1a3977f6b1e0b4e7598172479964c03..3aaf4d0b9444091d8c7bbfd9ab81dfb749fc61d7 100644 --- a/vcm/js/here.js +++ b/vcm/js/here.js @@ -62,7 +62,7 @@ function getAccidents(type){ if (type == "ROAD_CLOSURE"){ roadclose = new vcs.vcm.layer.GeoJSON({ name: "ROAD_CLOSURE", - url: "http://localhost:8083/ROAD_CLOSURE", + url: "https://m4lab.hft-stuttgart.de/partizipation/ROAD_CLOSURE", data: geojson, projection: { epsg: 4326 @@ -83,7 +83,7 @@ function getAccidents(type){ } else if (type == "CONSTRUCTION"){ trafficlayer = new vcs.vcm.layer.GeoJSON({ name: "CONSTRUCTION", - url: "http://localhost:8083/CONSTRUCTION", + url: "https://m4lab.hft-stuttgart.de/partizipation/CONSTRUCTION", data: geojson, projection: { epsg: 4326 @@ -208,7 +208,7 @@ function drawFlow(){ // url: "http://localhost:8083/FLOW", flowlayer = new vcs.vcm.layer.GeoJSON({ name: "FLOW", - url: "http://localhost:8083/TrafficFlow", + url: "https://m4lab.hft-stuttgart.de/partizipation/TrafficFlow", data: geojson, projection: { epsg: 4326 @@ -244,7 +244,7 @@ function drawnavcar(){ framework.removeLayerByName("NAVCAR") navcarlayer = new vcs.vcm.layer.GeoJSON({ name: "NAVCAR", - url: "http://localhost:8083/NAVCAR", + url: "https://m4lab.hft-stuttgart.de/partizipation/NAVCAR", data: geojson, projection: { epsg: 4326 @@ -286,7 +286,7 @@ function drawnavpub(){ framework.removeLayerByName("NAVPUB") navcarlayer = new vcs.vcm.layer.GeoJSON({ name: "NAVPUB", - url: "http://localhost:8083/NAVPUB", + url: "https://m4lab.hft-stuttgart.de/partizipation/NAVPUB", data: geojson, projection: { epsg: 4326 @@ -326,7 +326,7 @@ function setPoint(location, pointd){ // visualizing with vcs GeoJson function pointlayer = new vcs.vcm.layer.GeoJSON({ name: location + "point", - url: "http://localhost:8083/addPoint?slat=" + pointd.lat + "&slon=" + pointd.lon + "&sloc=" + location, + url: "https://m4lab.hft-stuttgart.de/partizipation/addPoint?slat=" + pointd.lat + "&slon=" + pointd.lon + "&sloc=" + location, data: geojson, projection: { epsg: 4326 @@ -385,7 +385,7 @@ function setRouteCar(){ // visualizing with vcs GeoJson function pointlayer = new vcs.vcm.layer.GeoJSON({ name: "CarRoute", - url: "http://localhost:8083/Routecalc2?slat=" + datapoint.slat + "&slon=" + datapoint.slon + "&sloc=" + datapoint.sloc + "&elat=" + datapoint.elat + "&elon=" + datapoint.elon + "&eloc=" + datapoint.eloc, + url: "https://m4lab.hft-stuttgart.de/partizipation/Routecalc2?slat=" + datapoint.slat + "&slon=" + datapoint.slon + "&sloc=" + datapoint.sloc + "&elat=" + datapoint.elat + "&elon=" + datapoint.elon + "&eloc=" + datapoint.eloc, data: geojson, projection: { epsg: 4326 @@ -474,7 +474,7 @@ function setRoutePublic(){ // visualizing with vcs GeoJson function pointlayer = new vcs.vcm.layer.GeoJSON({ name: "PublicRoute", - url: "http://localhost:8083/navPublicT2?slat=" + datapoint.slat + "&slon=" + datapoint.slon + "&sloc=" + datapoint.sloc + "&elat=" + datapoint.elat + "&elon=" + datapoint.elon + "&eloc=" + datapoint.eloc, + url: "https://m4lab.hft-stuttgart.de/partizipation/navPublicT2?slat=" + datapoint.slat + "&slon=" + datapoint.slon + "&sloc=" + datapoint.sloc + "&elat=" + datapoint.elat + "&elon=" + datapoint.elon + "&eloc=" + datapoint.eloc, data: testingThing, projection: { epsg: 4326