mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
Fix point coordinates on the points page
This commit is contained in:
parent
eb13be21f3
commit
52e0bc572c
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ class OwnTracks::Params
|
|||
# rubocop:disable Metrics/AbcSize
|
||||
def call
|
||||
{
|
||||
lonlat: "POINT(#{params[:lon]} #{params[:lat]})",
|
||||
lonlat: "POINT(#{params[:lon]} #{params[:lat]})",
|
||||
battery: params[:batt],
|
||||
ping: params[:p],
|
||||
altitude: params[:alt],
|
||||
|
|
|
|||
|
|
@ -15,6 +15,6 @@
|
|||
</td>
|
||||
<td class='<%= speed_text_color(point.velocity) %>'><%= point.velocity %></td>
|
||||
<td><%= point.recorded_at %></td>
|
||||
<td><%= point.latitude %>, <%= point.longitude %></td>
|
||||
<td><%= point.lat %>, <%= point.lon %></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Reference in a new issue