Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in method checking a pointInPolygon #117

Open
tidusvn05 opened this issue Jun 28, 2018 · 1 comment
Open

Bug in method checking a pointInPolygon #117

tidusvn05 opened this issue Jun 28, 2018 · 1 comment

Comments

@tidusvn05
Copy link

tidusvn05 commented Jun 28, 2018

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 ?

@ultrasamad
Copy link

ultrasamad commented Mar 1, 2019

Yh. I'm also experiencing this issue. @tidusvn05 Have you gotten a fix for that. Or any package that handles that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants