alexpechkarev / geometry-library

PHP Geometry Library provides utility functions for the computation of geometric data on the surface of the Earth. Code ported from Google Maps Android API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Call the function isLocationOnEdge with parameter $ geodesic = false

marczeo opened this issue · comments

Hello,
When I called the function, the response was Use of undefined constant lng3 - assumed 'lng3' , I saw the function declaration and missing the "$" before the variable $lng3 and the variable $lng1.

The error was in the file "PolyUtil.php" line 202

Hi @marczeo ,

Thanks for pointing out, the error has been amended as per your suggestion.

Regards