Content deleted Content added
try trunc again |
7 sigfig of lat/long output, rounding to NE |
||
Line 45:
local abs = math.abs
local floor = math.floor
local ceil = math.ceil
local sin = math.sin
local cos = math.cos
Line 444 ⟶ 445:
LL.lat = LL.lat or 0
LL.long = LL.long or 0
LL.lat = ceil(LL.lat*10000000)/10000000
LL.long = ceil(LL.long*10000000)/10000000
url = url..'params='..LL.lat..'_N_'
if LL.long < 0 then
|