Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
M4labplatform
Commits
76b4b867
Commit
76b4b867
authored
4 years ago
by
Patrick
Browse files
Options
Download
Email Patches
Plain Diff
test update url
parent
0d0ce589
master
NewS_cleaned
New_Structure
TestNav
workingVersion
LastWorking
1 merge request
!1
update some ui
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vcm/js/here.js
+8
-8
vcm/js/here.js
with
8 additions
and
8 deletions
+8
-8
vcm/js/here.js
+
8
-
8
View file @
76b4b867
...
@@ -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
:
"
http
s
://
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
:
"
http
s
://
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
:
"
http
s
://
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
:
"
http
s
://
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
:
"
http
s
://
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
:
"
http
s
://
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
:
"
http
s
://
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
:
"
http
s
://
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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets