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
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.
Harlin Setiadarma wrote:
Hey Harlin
Do you have soem example with this?
Thank you
I don't have time for working example oml.
This thread is old, I have found a better way to call screen action from javascript.
You can use FakeNotifyWIdget from RichWidget (add dependency first)
Put FakeNotifyWIdget on your screen, and set it's name and destination for on notify event.
Then you can call it in Javascript:
"OsNotifyWidget('"+myfakenotify.id+"', 'optional message')"