Added hideInfoWindow

Added this small method to allow control of close info window not only with the close icon inside it.

FYI: On my current environment, I cant manage to run test and build. Not a problem if you refuse this PR and do it on your side.