I am using rectangle on dash leaflet to draw a bounding box. My goal is to get the diagonally opposite coordinates (if not all coordinates) using this rectangle and send it to backend. Is there a way to achieve this upon drawing rectangle? I have used marker and it works fine but I couldn't find a way to do this with rectangle.
Hello,
I am using rectangle on dash leaflet to draw a bounding box. My goal is to get the diagonally opposite coordinates (if not all coordinates) using this rectangle and send it to backend. Is there a way to achieve this upon drawing rectangle? I have used marker and it works fine but I couldn't find a way to do this with rectangle.