I've got loads of coordinates for a polygon in a database. I also have coordinates for an marker in my database. How do i detect if the marker is inside this polyon.
Note: I use a cronjob to move the marker, and in this cronjob it needs to detect this. So javascript isn't involved!
Shape of polygon is not just a circle or square. It could be for example a country or sea.