small typo fixes
This commit is contained in:
parent
84a37646c1
commit
6f90fd7f3d
@ -22,7 +22,7 @@ function M.get_domains()
|
|||||||
return list
|
return list
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Return the default domain from the domaon list.
|
-- Return the default domain from the domain list.
|
||||||
-- This method can return the following data:
|
-- This method can return the following data:
|
||||||
-- * default domain
|
-- * default domain
|
||||||
-- * nil if no default domain has been defined
|
-- * nil if no default domain has been defined
|
||||||
@ -98,7 +98,7 @@ function M.point_in_polygon(poly, point)
|
|||||||
return t
|
return t
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Return domain from the domain list based on geo position or nil if no geo base domain could be
|
-- Return domain from the domain list based on geo position or nil if no geo based domain could be
|
||||||
-- determined. First check if an area has > 2 points and is hence a polygon. Else assume it is a
|
-- determined. First check if an area has > 2 points and is hence a polygon. Else assume it is a
|
||||||
-- rectangular box defined by two points (south-west and north-east)
|
-- rectangular box defined by two points (south-west and north-east)
|
||||||
function M.get_domain_by_geo(jdomains,geo)
|
function M.get_domain_by_geo(jdomains,geo)
|
||||||
|
Loading…
Reference in New Issue
Block a user