I have created customized the existing infobubble through CSS and HTML. Please find the reference screen shot below:
When I am single clicking on any pin on map, this infobubble appear, and then in the info bubble I've one button "Click Here to open PLAN". On click on that button, I am redirecting to some URL.
So now the question is:
As of now even after clicking on button, this popup remain open on map and to close this I have to click on map area.