Hi Team,
After working with this code for a few months (and it is really awesome code), I am receiving the following error when I add a polygon to a map object:
“Cannot read property ‘setMap’ of undefined”
This doesn’t happen all the time, one occasionally. As soon as I get this error, I am unable to add any polygons until the object is re-instated. Any idea how to fix this?