how to point the location in map

hello all,

I have employee form in that from I have address autocomplete input field.

Requirement:

so that the end-user fill the address and then map should point out the location given by user how to do this. Give some ideas please. refer the link to get clear picture.

https://ansari-durai.outsystemscloud.com/EmployeeManagement/

thank you,

D.Ansari.


Hi Ansari,

You probably need an On Change Destination that is set to a Screen Action that checks the address for validity, and then uses Google Maps to display that address.

Kilian Hekhuis wrote:

Hi Ansari,

You probably need an On Change Destination that is set to a Screen Action that checks the address for validity, and then uses Google Maps to display that address.

 Hai Kilian,

could you please explain more,

for address I used different component how to pass that address to the map to show the location.



 

Solution

The AddressMap Web Block has an Address Input Parameter:

You can just pass the entire address, and Google Maps will find it for you.

Solution

 wrote:

The AddressMap Web Block has an Address Input Parameter:

You can just pass the entire address, and Google Maps will find it for you.

yes I done that it's mandatory to give API key?

But got the result like this:

Hi Ansari Durai,
Brother yes it is mandatory to pass the API key & that's the thing you're missing.

Follow the below steps to generate the API key :
https://developers.google.com/maps/documentation/javascript/get-api-key

Hope it helps,
Assif

assif_tiger wrote:

Hi Ansari Durai,
Brother yes it is mandatory to pass the API key & that's the thing you're missing.

Follow the below steps to generate the API key :
https://developers.google.com/maps/documentation/javascript/get-api-key

Hope it helps,
Assif

 Hai bro,

 how can we get place api key for free?

for testing Purpose!

They provide free credits initially &it's charges are per api request  call.

So you can use it easily...just generate key from personal account.


https://cloud.google.com/maps-platform/pricing

For limited use it's free, so for testing that should be enough.