(JS)Prevent JS error
MODIFY
www/HtmlInfoWindow.js
www/HtmlInfoWindow.js
@@ -337,6 +337,7 @@ var HTMLInfoWindow = function () {
};
self._hook.on(self, "infoPosition_changed", function (ignore, point) {
+ if (!point) return;
var x = point.x + self.get("offsetX");
var y = point.y + self.get("offsetY");
anchorDiv.style['-webkit-transform'] = "translate3d(" + x + "px, " + y + "px, 0px)";

(JS)Prevent JS error