Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eduroam
ntlr-db-api
Commits
f0b0e8e2
Commit
f0b0e8e2
authored
Jul 10, 2020
by
Jørn Åne de Jong
Browse files
Switch around latlon coordinates to be lonlat :cuckoo:
parent
a60b06bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/uninett/eduroam/database/kinddatabase.php
View file @
f0b0e8e2
...
...
@@ -339,7 +339,7 @@ class KINDDatabase extends AbstractDatabase
foreach
(
$this
->
getTjenesteLokasjonsByTjenesteAbonnement
(
$ta
)
as
$tl
)
{
$item
=
[
'locationid'
=>
\
sprintf
(
'%u'
,
$tl
->
id
),
'coordinates'
=>
\
sprintf
(
'%f,%f'
,
$tl
->
utm
->
L
at
(),
$tl
->
utm
->
L
ong
()),
'coordinates'
=>
\
sprintf
(
'%f,%f'
,
$tl
->
utm
->
L
ong
(),
$tl
->
utm
->
L
at
()),
'stage'
=>
1
,
'type'
=>
0
,
'loc_name'
=>
[[
'lang'
=>
'en'
,
'data'
=>
$tl
->
navn
]],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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