Hi all
I use googlemapsextra to trace a simple polygon. I have lat/lnt inside. Then I try the code from this page
www.b4x.com
But the FindInZone sub say always false. I know my lat/lnt is inside near center of polygon. Each point of polygon is near or more than 250m
A small project that simply make calculation only whit some coordinates.
I use googlemapsextra to trace a simple polygon. I have lat/lnt inside. Then I try the code from this page
Geo-Zone Determination (Point in Polygon)
I use this in my app to determine if a vehicle is within a defined zone made of 5 or more lat/lon coordinates. Point 1 is also Point 5 (first point and last point are same value). A simple box shows how to create this: 1----------2 | ........... | | ........... | clockwise (or counter...
![www.b4x.com](https://www.b4x.com/android/forum/favicon-32x32.png)
But the FindInZone sub say always false. I know my lat/lnt is inside near center of polygon. Each point of polygon is near or more than 250m
A small project that simply make calculation only whit some coordinates.