I am using web app builder for creating custom widgets and there is a requirement user wants to use onclick coordinates even though there is no data on the map. Infowindow is appearing and hiding when there is nothing on the map. How to stop disappearing info window even though there is no data on the map?
Then I think you want to set the popup visiblewhenempty property to true then
this.map.infoWindow.visibleWhenEmpty = true;