Hi Team, After working with this code for a few months (and it is really a

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?

Hi JC!
Thanks for the feedback!

Your problem could be related to navigating to another part of the application and then going back to the map.

If not, can you [create an issue]
(https://github.com/FlowingCode/GoogleMapsAddon/issues/new) and add more information, or maybe a small piece of code that is able to reproduce the problem?

Regards!