Clicking on a restaurant

Hi everyone.

I am trying to have an action on my maps component where when I click on a restaurant that is displayed near me, it will link me to a new screen with the full address. Can anyone help?

For this one it requires a custom component. I have achieved this in the past with writing a code in better webview component which Pragmaflow created but couldn’t suggest you to use that component because Pragmaflow don’t maintain them.

For a option now I see is that use the below component which @njimmy10 created!

As I can see it returns the coordinates and not sure if it returns the address but anyway you can run a custom action calling google geocode api to find the address using the coordinates that component returns! : এবার শুরু করা যাক  |  Geocoding API  |  Google for Developers.

If I do this, will I be able to click on a place to eat and be given the exact location on a different page?

Yeah, so that Jimmy’s component gives you the coordinates, you can get the address passing that coordinates to Google geocoding API. Then you can save the address that API gives under a user property or on a input and then you can show that saved value through magic text in the next screen.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.