Commit 76b4b867 authored by Patrick's avatar Patrick
Browse files

test update url

Showing with 8 additions and 8 deletions
+8 -8
...@@ -62,7 +62,7 @@ function getAccidents(type){ ...@@ -62,7 +62,7 @@ function getAccidents(type){
if (type == "ROAD_CLOSURE"){ if (type == "ROAD_CLOSURE"){
roadclose = new vcs.vcm.layer.GeoJSON({ roadclose = new vcs.vcm.layer.GeoJSON({
name: "ROAD_CLOSURE", name: "ROAD_CLOSURE",
url: "http://localhost:8083/ROAD_CLOSURE", url: "https://m4lab.hft-stuttgart.de/partizipation/ROAD_CLOSURE",
data: geojson, data: geojson,
projection: { projection: {
epsg: 4326 epsg: 4326
...@@ -83,7 +83,7 @@ function getAccidents(type){ ...@@ -83,7 +83,7 @@ function getAccidents(type){
} else if (type == "CONSTRUCTION"){ } else if (type == "CONSTRUCTION"){
trafficlayer = new vcs.vcm.layer.GeoJSON({ trafficlayer = new vcs.vcm.layer.GeoJSON({
name: "CONSTRUCTION", name: "CONSTRUCTION",
url: "http://localhost:8083/CONSTRUCTION", url: "https://m4lab.hft-stuttgart.de/partizipation/CONSTRUCTION",
data: geojson, data: geojson,
projection: { projection: {
epsg: 4326 epsg: 4326
...@@ -208,7 +208,7 @@ function drawFlow(){ ...@@ -208,7 +208,7 @@ function drawFlow(){
// url: "http://localhost:8083/FLOW", // url: "http://localhost:8083/FLOW",
flowlayer = new vcs.vcm.layer.GeoJSON({ flowlayer = new vcs.vcm.layer.GeoJSON({
name: "FLOW", name: "FLOW",
url: "http://localhost:8083/TrafficFlow", url: "https://m4lab.hft-stuttgart.de/partizipation/TrafficFlow",
data: geojson, data: geojson,
projection: { projection: {
epsg: 4326 epsg: 4326
...@@ -244,7 +244,7 @@ function drawnavcar(){ ...@@ -244,7 +244,7 @@ function drawnavcar(){
framework.removeLayerByName("NAVCAR") framework.removeLayerByName("NAVCAR")
navcarlayer = new vcs.vcm.layer.GeoJSON({ navcarlayer = new vcs.vcm.layer.GeoJSON({
name: "NAVCAR", name: "NAVCAR",
url: "http://localhost:8083/NAVCAR", url: "https://m4lab.hft-stuttgart.de/partizipation/NAVCAR",
data: geojson, data: geojson,
projection: { projection: {
epsg: 4326 epsg: 4326
...@@ -286,7 +286,7 @@ function drawnavpub(){ ...@@ -286,7 +286,7 @@ function drawnavpub(){
framework.removeLayerByName("NAVPUB") framework.removeLayerByName("NAVPUB")
navcarlayer = new vcs.vcm.layer.GeoJSON({ navcarlayer = new vcs.vcm.layer.GeoJSON({
name: "NAVPUB", name: "NAVPUB",
url: "http://localhost:8083/NAVPUB", url: "https://m4lab.hft-stuttgart.de/partizipation/NAVPUB",
data: geojson, data: geojson,
projection: { projection: {
epsg: 4326 epsg: 4326
...@@ -326,7 +326,7 @@ function setPoint(location, pointd){ ...@@ -326,7 +326,7 @@ function setPoint(location, pointd){
// visualizing with vcs GeoJson function // visualizing with vcs GeoJson function
pointlayer = new vcs.vcm.layer.GeoJSON({ pointlayer = new vcs.vcm.layer.GeoJSON({
name: location + "point", 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, data: geojson,
projection: { projection: {
epsg: 4326 epsg: 4326
...@@ -385,7 +385,7 @@ function setRouteCar(){ ...@@ -385,7 +385,7 @@ function setRouteCar(){
// visualizing with vcs GeoJson function // visualizing with vcs GeoJson function
pointlayer = new vcs.vcm.layer.GeoJSON({ pointlayer = new vcs.vcm.layer.GeoJSON({
name: "CarRoute", 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, data: geojson,
projection: { projection: {
epsg: 4326 epsg: 4326
...@@ -474,7 +474,7 @@ function setRoutePublic(){ ...@@ -474,7 +474,7 @@ function setRoutePublic(){
// visualizing with vcs GeoJson function // visualizing with vcs GeoJson function
pointlayer = new vcs.vcm.layer.GeoJSON({ pointlayer = new vcs.vcm.layer.GeoJSON({
name: "PublicRoute", 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, data: testingThing,
projection: { projection: {
epsg: 4326 epsg: 4326
......
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