Google Map Mobile on marker click 

Google Map Mobile on marker click 

  

Hi 


I'm new with outsystem maybe anyone can help me how to add a marker click event for google map mobile .

Don Jayson Agra wrote:

Hi 


I'm new with outsystem maybe anyone can help me how to add a marker click event for google map mobile .

Hi Don,

You need to have a local variable of the type "MarkEventIdentifier List", which you bind to the map block.

So basically, you should do the append of the desired event to that list.

Then, bind your variables to the GMaps component:


And for last, you need to add an eventListener to the map block, for the event "MapMarkerRaisedEvent".


And that's pretty much it, hope it helps.


Hey, Don,

Like Henrique mentioned, it should be as simple as adding the wanted events to the MarkerEvents input parameter list. You can check out the attached OAP for a simple example for "click" events.

Please let us know if it worked for you!   

Best regards,

Carlos Simões

PS: Could you post the question on the component's forums next time, so we catch this earlier, please?