Positioning popup at click of Google marker

I need to position a pop-up when a user clicks on a Google map marker at the position where the marker is located on screen. I understand that Appery UI component has "Position To" option which allows specifying component for positioning, but in this case the markers are dynamically populated from Appery backend so a simple specification in UI doesn't seem possible.

google.maps.event.addListener(marker, 'click', function() {
Appery("popup_leave_map").popup("open"); // need it to open at marker position

What would you recommend?
1 person has
this question
This topic is no longer open for comments or replies.