Open modal through Google Maps pop up button

Hi everyone!

I’ve added a button to the popup that appears when a marker is clicked on Google Maps. Does anyone have an idea how I can open a modal component when that button is clicked? TYIA.

Hi @Francis_Bagas,
thank you for reaching out to us.
To open the popup, you have two options. First, make sure to assign an id to the modal component in its settings.

1. Add an On Click event to the button you mentioned, which will toggle the visibility mode of the modal component — as shown in the screenshot below

2. Alternatively, go to the modal component and add a Visibility Logic handler.
In the logic, return a value from AppData or PageData, and then, when the button is clicked, update that value to true or false to control the modal’s visibility.


Regards,
Sergey