I am using Leaflet for the map. I draw polygons on it. After clicking on the map, I read the coordinates of the clicked place and check if the square is in these coordinates