Ionic Native Map with alert dialog does not accept click

I have a ionic native Google map upon which I have to open some alerts. But when I click on alert dialog box the map accepts the click instead of alert dialog box. I can not find any clues in the documentation or the forum. Any help is greatly appreciated.

Thanks in advance for your help.

What kind of alerts?

Alert Dialog Controller with check boxes.

I have the same problem. I want to show an alert “No search results”. The alert shows, however, I cannot click on “OK”. The click is instead executed as if I had clicked on the map behind the alert.
Anybody any idea how to solve this?

Set this.map.setClickable(false) when the alert function is entered, and then add this.map.setClickable(true) inside the handler.

2 Likes

Thanks. That solved my problem.