I am drawing different polygons on google map. I need when user draws polygon, if polygon overlap with any other polygon then user get warning alert, ( You can't draw overlapped polygon).
Please check Example https://developers.google.com/maps/documentation/javascript/examples/drawing-tools
I have done drawing different polygons. but I could not find prevent overlapping. Please help me, how I show alert when polygon is overlapped with other polygon