I have a map that I'm building here: https://www.jsnippet.net/snippet/1437/
It's a drawingmanager solution, where I can draw a circle, square, or polygon. Not multiple layers, just one.
THe polygon placement is working perfectly (although I'm trying to figure out deleting a polygon vertice), but my problem truly is the console.
after placing a polygon, circle, or rectangle, I started receiving hovering errors on the map:
Uncaught TypeError: Cannot read property 'Sa' of null
at UV.<anonymous> (onion.js:59)
at Object._.A.trigger (js?key=AIzaSyALxYexJJN5slLNWWGijb16z2Dys66ASIA&libraries=drawing&callback=initMap:102)
at UV.handleEvent (onion.js:63)
at jy._.k.de (map.js:44)
at Object._.A.trigger (js?key=AIzaSyALxYexJJN5slLNWWGijb16z2Dys66ASIA&libraries=drawing&callback=initMap:102)
at hq.<anonymous> (common.js:132)
at Object._.A.trigger (js?key=AIzaSyALxYexJJN5slLNWWGijb16z2Dys66ASIA&libraries=drawing&callback=initMap:102)
at nq (common.js:87)
at hq.<anonymous> (common.js:192)
at hq.<anonymous> (common.js:192)
This error occurs when I hover over the map, and when I move the mouse, it continues to show. I don't know how to figure this out. any wisdom would be greatly appreciated.
Thanks.
UPDATE #1:
I tested against multiple browsers (Opera, Firefox, IE, and Chrome), I am getting the same response plus the following error:
Uncaught TypeError: JSON.parse is not a function
at lW (onion.js:29)
at OV.<anonymous> (onion.js:59)
at Object._.z.trigger (js?key=AIzaSyALxYexJJN5slLNWWGijb16z2Dys66ASIA&v=3&libraries=drawing&callback=initMap:102)
at OV.handleEvent (onion.js:63)
at hy._.k.be (map.js:44)
at Object._.z.trigger (js?key=AIzaSyALxYexJJN5slLNWWGijb16z2Dys66ASIA&v=3&libraries=drawing&callback=initMap:102)
at aq.<anonymous> (common.js:135)
at Object._.z.trigger (js?key=AIzaSyALxYexJJN5slLNWWGijb16z2Dys66ASIA&v=3&libraries=drawing&callback=initMap:102)
at gq (common.js:90)
at aq.<anonymous> (common.js:200)
Now, I'm not calling JSON.parse specifically, but it sounds like I'm doing it incidentally. Where? and how do I fix it? Thanks!