If bounds is in polygon PHP-Leaflet

المشرف العام

Administrator
طاقم الإدارة
I have the latitude and the longitude of view of map ( latitude and longitude of north west and the latitude and longitude of southeast ) and a geojson files with MultiPolygon. (43mo)

In PHP i want to detect if a polygon is in view.

test they 2 point (NW & SE) if is in polygons is not a good way because polygons is imprevisible https://upload.wikimedia.org/wikipe...ition.svg/2000px-Rectangle_definition.svg.png in this case the result found is the corner NW and SE but the center and ne and sw not found



أكثر...
 
أعلى