There are some plugins available that do similar things, like this one:
https://www.wpmapspro.com/docs/how-to-draw-in-google-maps/
…but no plugin has this functionality as far as I can tell.
We need to send the image with the user-selected area as part of the form.
Maybe we could convert the map with the area to a screenshot on submit event, then in JS base-64 encode it and then wrap it in a div and assign the base-64 encoding as a jpg bg image of that div, and have all of that stringified and injected into a hidden input field and submitted with the rest of the form.
Ideally, the admin should receive an email with the area in PDF or as an image, with the rest of the form’s data (the usual stuff – contact info).
Any ideas? Hopefully, a plugin 🙂 Here’s google maps relevant documentation I could find: https://developers.google.com/maps/documentation/javascript/drawinglayer https://developers.google.com/maps/documentation/javascript/examples/drawing-tools