Bug fix: HTMLInfoWindow does not close using the marker.hideInfoWindow() method.
MODIFY
www/Marker.js
www/Marker.js
@@ -275,6 +275,9 @@ Marker.prototype.showInfoWindow = function() {
return this;
};
Marker.prototype.hideInfoWindow = function() {
+ if (this.map.get("active_marker_id") === this.id) {
+ this.map.set("active_marker_id", null);
+ }
if (this.get("isInfoWindowVisible")) {
this.set("isInfoWindowVisible", false);
exec.call(this, null, this.errorHandler, this.getPluginName(), 'hideInfoWindow', [this.getId()], {sync: true});

Bug fix: HTMLInfoWindow does not close using the marker.hideInfoWindow() method.