You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose new change in file script_time_earthquake.lua to add a direct link to the site https://www.seismicportal.eu/
local q=json.decode(response)
local qMag = tonumber(q.features[1].properties.mag)
local qRegion = tostring(q.features[1].properties.flynn_region)
local qTimeString = tostring(q.features[1].properties.time)
local qLat = tonumber(q.features[1].properties.lat)
local qLon = tonumber(q.features[1].properties.lon)
local qDepth = tonumber(q.features[1].properties.depth) local qUnid = tostring(q.features[1].properties.unid)
...
...
--Set and format the new alertText
local alertText = tostring( atLocalTime .. ' ' .. address .. '\n' .. 'Mag: ' .. qMag .. '. Depth:' .. qDepth .. 'km Distance: ' .. distance ..'km. MapDetail')
The text was updated successfully, but these errors were encountered:
I propose new change in file script_time_earthquake.lua to add a direct link to the site https://www.seismicportal.eu/
local q=json.decode(response)
local qMag = tonumber(q.features[1].properties.mag)
local qRegion = tostring(q.features[1].properties.flynn_region)
local qTimeString = tostring(q.features[1].properties.time)
local qLat = tonumber(q.features[1].properties.lat)
local qLon = tonumber(q.features[1].properties.lon)
local qDepth = tonumber(q.features[1].properties.depth)
local qUnid = tostring(q.features[1].properties.unid)
...
...
--Set and format the new alertText
local alertText = tostring( atLocalTime .. ' ' .. address .. '\n' .. 'Mag: ' .. qMag .. '. Depth:' .. qDepth .. 'km Distance: ' .. distance ..'km. Map Detail')
The text was updated successfully, but these errors were encountered: