Uncaught TypeError: Cannot read property '__e3_' of null
<p>I'm getting the error <code>Uncaught TypeError: Cannot read property '__e3_' of null</code>  randomly when dragging a polygon inside a google map. I mean, most of the times when I drag the polygon works as expected, but rarely a few times fails. </p>

<p>In the Google Chrome console, the error shown is:</p>

<p>1) Error header:</p>

<pre><code>Uncaught TypeError: Cannot read property '__e3_' of null js?libraries=drawing,geometry:87
</code></pre>

<p>2) Error body:</p>

<pre><code>_.I.hasListeners    @   js?libraries=drawing,geometry:87
_.I.trigger @   js?libraries=drawing,geometry:88
W1  @   poly.js:20
_.t.mm  @   poly.js:82
_.I.trigger @   js?libraries=drawing,geometry:88
(anonymous function)    @   js?libraries=drawing,geometry:34
_.I.trigger @   js?libraries=drawing,geometry:88
(anonymous function)    @   common.js:79
_.I.trigger @   js?libraries=drawing,geometry:88
Mm  @   common.js:69
(anonymous function)    @   common.js:225
(anonymous function)    @   common.js:225
</code></pre>

<p>Edited: 
Instead of pasting the chunks of code, I provide a fiddle as an example with the code working:
<a href="https://jsfiddle.net/w6Lnk47u/16/" rel="nofollow">https://jsfiddle.net/w6Lnk47u/16/</a></p>

<p>The error seems to be in this line:</p>

<pre><code>var isMarkerContained = google.maps.geometry.poly.containsLocation(CREAR_CAMP.markerWithLabelCasaClub.getPosition(), CREAR_CAMP.polygonArea);
</code></pre>

<p>To reproduce the error, someone has to:</p>

<p>1) Click on the left-enabled one first and draw a polygon on the map. </p>

<p>2) Click to the right now enabled button (when the draw of the polygon finishes it enables) and it will appear a marker inside the polygon. Now is when the error could come. Someone just have to try moving and resizing the polygon (trying to leave the marker out of the polygon area) and it will appear the error in the Google Chrome console. As I said, it happens randomly and few times.</p>