-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
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')
Metadata
Metadata
Assignees
Labels
No labels