I would like to use a Google Map as an input into an HTML form. The input value will be determined by which polygons the user has selected (toggled by clicking, which ought to change the colour too).
This is a component of an early, proof of concept stage of a larger application. A successful outcome should lead to more hours, particularly for the development of a Google Maps fronted to a database application.
The polygons will be generated programmatically (from a database) so refactored, easily understood code is essential.