I have loads of coordinates for a polygon in the database. I also have a coordination for a marker in my database. How can I find out that the marker is inside this polyline
Note: I use a chrono to move the marker, and this In Cronjobs it is necessary to find out. Javascript is not included!
Polygon's size is not just a circle or a square, it can be for a country or sea example.
This is a function in the Google Maps API.
Location in it (point: late long, polygon: polygon); IsLocationOnEdge (point: lat long, poly: polygon | polyline, tolerance: number);
Comments
Post a Comment