Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
M4labplatform
Commits
f1a024e2
"...web3Dviewer.git" did not exist on "master"
Commit
f1a024e2
authored
Oct 11, 2021
by
Cholgrrr
Browse files
test update
parent
c511de8e
Changes
2
Hide whitespace changes
Inline
Side-by-side
server.js
View file @
f1a024e2
...
...
@@ -4,14 +4,14 @@ const express = require('express')
const
app
=
express
();
const
bodyParser
=
require
(
'
body-parser
'
)
const
soap
=
require
(
'
soap
'
);
app
.
use
(
bodyParser
.
urlencoded
({
extended
:
false
}))
app
.
use
(
bodyParser
.
json
())
//
app.use(bodyParser.urlencoded({ extended: false }))
//
app.use(bodyParser.json())
const
request_ajax
=
require
(
'
ajax-request
'
);
const
request
=
require
(
'
request
'
);
// const got = require('got');
const
axios
=
require
(
'
axios
'
);
const
polycalc
=
require
(
'
./codepoly.js
'
);
const
{
isEmptyObject
}
=
require
(
'
jquery
'
);
//
const { isEmptyObject } = require('jquery');
//console.log(polycalc)
app
.
use
(
express
.
static
(
'
vcm
'
));
app
.
listen
(
process
.
env
.
PORT
||
8083
);
...
...
vcm/js/ServerorLocal.js
View file @
f1a024e2
// Server
var
navPublicT
=
'
/partizipation/navPublicT
'
var
NavCARdata
=
'
/partizipation/NavCARdata
'
var
ROAD_CLOSURE
=
"
https://m4lab.hft-stuttgart.de/partizipation/ROAD_CLOSURE
"
var
CONSTRUCTION
=
"
https://m4lab.hft-stuttgart.de/partizipation/CONSTRUCTION
"
var
TrafficFlow
=
"
https://m4lab.hft-stuttgart.de/partizipation/TrafficFlow
"
var
NAVCAR
=
"
https://m4lab.hft-stuttgart.de/partizipation/NAVCAR
"
var
NAVPUB
=
"
https://m4lab.hft-stuttgart.de/partizipation/NAVPUB
"
var
addPointurl
=
"
https://m4lab.hft-stuttgart.de/partizipation/addPoint
"
var
routecalcurl
=
"
https://m4lab.hft-stuttgart.de/partizipation/Routecalc2
"
var
navpublict2url
=
"
https://m4lab.hft-stuttgart.de/partizipation/navPublicT2
"
var
StartpointUrl
=
"
https://m4lab.hft-stuttgart.de/partizipation/Startpoint
"
var
EndpointUrl
=
"
https://m4lab.hft-stuttgart.de/partizipation/Endpoint
"
var
FLOWdataUrl
=
"
/partizipation/FLOWdata
"
var
NavCARdataUrl
=
'
/partizipation/NavCARdata
'
var
FLOWtestUrl
=
'
/partizipation/FLOWtest
'
var
getTrafficIncidentsUrl
=
'
/partizipation/getTrafficIncidents
'
var
navPointUrl
=
'
/partizipation/navPoint
'
var
RoutecalcUrl
=
'
/partizipation/Routecalc
'
var
navPublicTUrl
=
'
/partizipation/navPublicT
'
var
NoiseRealTimeUrl
=
'
/partizipation/NoiseRealTime
'
var
FavoritePlacesUrl
=
"
https://m4lab.hft-stuttgart.de/partizipation/FavPlacesDB
"
var
getNoiseHistUrl
=
'
/partizipation/getNoiseHist
'
var
getSTANoiseHistUrl
=
'
/partizipation/getSTANoiseHist
'
var
saveFavPOINT
=
'
/partizipation/saveFavPoint
'
//
var navPublicT = '/partizipation/navPublicT'
//
var NavCARdata = '/partizipation/NavCARdata'
//
var ROAD_CLOSURE ="https://m4lab.hft-stuttgart.de/partizipation/ROAD_CLOSURE"
//
var CONSTRUCTION = "https://m4lab.hft-stuttgart.de/partizipation/CONSTRUCTION"
//
var TrafficFlow ="https://m4lab.hft-stuttgart.de/partizipation/TrafficFlow"
//
var NAVCAR = "https://m4lab.hft-stuttgart.de/partizipation/NAVCAR"
//
var NAVPUB = "https://m4lab.hft-stuttgart.de/partizipation/NAVPUB"
//
var addPointurl = "https://m4lab.hft-stuttgart.de/partizipation/addPoint"
//
var routecalcurl = "https://m4lab.hft-stuttgart.de/partizipation/Routecalc2"
//
var navpublict2url = "https://m4lab.hft-stuttgart.de/partizipation/navPublicT2"
//
var StartpointUrl = "https://m4lab.hft-stuttgart.de/partizipation/Startpoint"
//
var EndpointUrl = "https://m4lab.hft-stuttgart.de/partizipation/Endpoint"
//
var FLOWdataUrl = "/partizipation/FLOWdata"
//
var NavCARdataUrl = '/partizipation/NavCARdata'
//
var FLOWtestUrl = '/partizipation/FLOWtest'
//
var getTrafficIncidentsUrl = '/partizipation/getTrafficIncidents'
//
var navPointUrl = '/partizipation/navPoint'
//
var RoutecalcUrl = '/partizipation/Routecalc'
//
var navPublicTUrl = '/partizipation/navPublicT'
//
var NoiseRealTimeUrl = '/partizipation/NoiseRealTime'
//
var FavoritePlacesUrl = "https://m4lab.hft-stuttgart.de/partizipation/FavPlacesDB"
//
var getNoiseHistUrl = '/partizipation/getNoiseHist'
//
var getSTANoiseHistUrl = '/partizipation/getSTANoiseHist'
//
var saveFavPOINT = '/partizipation/saveFavPoint'
...
...
@@ -31,27 +31,27 @@ var saveFavPOINT = '/partizipation/saveFavPoint'
//_________________________________________/
// Local
// var navPublicT = '/navPublicT'
// var NavCARdata = '/NavCARdata'
// var ROAD_CLOSURE = "http://localhost:8083/ROAD_CLOSURE"
// var CONSTRUCTION = "http://localhost:8083/CONSTRUCTION"
// var TrafficFlow = "http://localhost:8083/TrafficFlow"
// var NAVCAR = "http://localhost:8083/NAVCAR"
// var NAVPUB = "http://localhost:8083/NAVPUB"
// var addPointurl = "http://localhost:8083/addPoint"
// var routecalcurl = "http://localhost:8083/Routecalc2"
// var navpublict2url = "http://localhost:8083/navPublicT2"
// var StartpointUrl = "http://localhost:8083/Startpoint"
// var EndpointUrl = "http://localhost:8083/Endpoint"
// var FLOWdataUrl = "/FLOWdata"
// var NavCARdataUrl = '/NavCARdata'
// var FLOWtestUrl = '/FLOWtest'
// var getTrafficIncidentsUrl = '/getTrafficIncidents'
// var navPointUrl = '/navPoint'
// var RoutecalcUrl = '/Routecalc'
// var navPublicTUrl = '/navPublicT'
// var NoiseRealTimeUrl = '/NoiseRealTime'
// var FavoritePlacesUrl = 'http://localhost:8083/FavPlacesDB'
// var getNoiseHistUrl = '/getNoiseHist'
// var getSTANoiseHistUrl = '/getSTANoiseHist'
// var saveFavPOINT = '/saveFavPoint'
\ No newline at end of file
var
navPublicT
=
'
/navPublicT
'
var
NavCARdata
=
'
/NavCARdata
'
var
ROAD_CLOSURE
=
"
http://localhost:8083/ROAD_CLOSURE
"
var
CONSTRUCTION
=
"
http://localhost:8083/CONSTRUCTION
"
var
TrafficFlow
=
"
http://localhost:8083/TrafficFlow
"
var
NAVCAR
=
"
http://localhost:8083/NAVCAR
"
var
NAVPUB
=
"
http://localhost:8083/NAVPUB
"
var
addPointurl
=
"
http://localhost:8083/addPoint
"
var
routecalcurl
=
"
http://localhost:8083/Routecalc2
"
var
navpublict2url
=
"
http://localhost:8083/navPublicT2
"
var
StartpointUrl
=
"
http://localhost:8083/Startpoint
"
var
EndpointUrl
=
"
http://localhost:8083/Endpoint
"
var
FLOWdataUrl
=
"
/FLOWdata
"
var
NavCARdataUrl
=
'
/NavCARdata
'
var
FLOWtestUrl
=
'
/FLOWtest
'
var
getTrafficIncidentsUrl
=
'
/getTrafficIncidents
'
var
navPointUrl
=
'
/navPoint
'
var
RoutecalcUrl
=
'
/Routecalc
'
var
navPublicTUrl
=
'
/navPublicT
'
var
NoiseRealTimeUrl
=
'
/NoiseRealTime
'
var
FavoritePlacesUrl
=
'
http://localhost:8083/FavPlacesDB
'
var
getNoiseHistUrl
=
'
/getNoiseHist
'
var
getSTANoiseHistUrl
=
'
/getSTANoiseHist
'
var
saveFavPOINT
=
'
/saveFavPoint
'
\ No newline at end of file
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