I got the same error just recently in some of my codes. In connection with another question in the past, I realized that when I set markers, I need to make sure that the variables that I entered for the binding and scaled size were floating point numbers and not included in the lines. This should be a new requirement with a recent update.
In my own code, I changed
currentIcon = { url: 'http://www.example.com/img/avatars/'+name+'.png', origin: new google.maps.Point(0, 0), anchor: new google.maps.Point(aw,ah), scaledSize: new google.maps.Size(w,h) };
to
currentIcon = { url: 'http://www.example.com/img/avatars/'+name+'.png', origin: new google.maps.Point(0, 0), anchor: new google.maps.Point(parseFloat(aw),parseFloat(ah)), scaledSize: new google.maps.Size(parseFloat(w),parseFloat(h)) };
and now it works great for me.
Scott source share