[Google Maps] Trigger Screen action on click of Marker event

[Google Maps] Trigger Screen action on click of Marker event

  
Forge Component
(20)
Published on 9 Mar by Steve Collins
20 votes
Published on 9 Mar by Steve Collins

Dear All, 

I'm trying to run a screen action if the marker on google map is clicked


I have 

1) Added map

2) Added a marker and marker event with links to the map. 

3)a screen action which should be triggered on click 

4) Marker event triggering event given as 'click'


Kindly help me on linking the click on marker to the screen action, Ideally I will be passing an input variable to the screen action based on the marker clicked. 


Thanks and Regards,

Priya


 


Solution

On web apps, you can use button with named id and visible = false.

Link screen action to that button.

Then using javascript you can simulate button click.

Solution