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
223e816e
Commit
223e816e
authored
Jun 22, 2021
by
patri
Browse files
small update
parent
d4cded3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
server.js
View file @
223e816e
...
...
@@ -1015,7 +1015,7 @@ app.get('/FavPlacesDB', async (req, res) => {
JsonFeature
.
push
({
"
type
"
:
"
Feature
"
,
"
properties
"
:
{
"
id
"
:
id
,
"
name
"
:
"
datapoint
"
,
"
contenttext
"
:
contenttext
,
"
timestamp
"
:
timestamp
,
"
lat
"
:
lat
,
"
lon
"
:
lon
},
"
properties
"
:
{
"
id
"
:
id
,
"
name
"
:
"
datapoint
"
,
"
contenttext
"
:
contenttext
,
"
timestamp
"
:
timestamp
,
"
date
"
:
timestamp
.
getUTCDate
(),
"
month
"
:
timestamp
.
getMonth
(),
"
year
"
:
timestamp
.
getUTCFullYear
(),
"
lat
"
:
lat
,
"
lon
"
:
lon
},
"
geometry
"
:{
"
type
"
:
"
MultiPoint
"
,
"
coordinates
"
:
[
[
parseFloat
(
lon
),
parseFloat
(
lat
)]]
...
...
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