Open
Description
-
For normal polygon, it working good.
see https://imgur.com/a/S6rMhdo -
For some special polygon, it not working.
see https://imgur.com/Mno8d12
My code:
$point = new Coordinate([$lat, $lng]);
$polygon = new Polygon($points);
if( $polygon->pointInPolygon($point))
return true;
return false
Anyone got same problem with me ?
Metadata
Metadata
Assignees
Labels
No labels