Page 1 of 1

get location name

Posted: 09 May 2017 11:56
by akapelis
Hi friends, is there a way to get the location or street name by google (or any other) maps?
Thanks for your help.

Re: get location name

Posted: 11 May 2017 19:24
by Martin
Hi,

You can use {location,locationformat} to get the address for the location stored in variable location. You can do this for example in action Notification on Screen or any other action that supports variables.

Regards,
Martin

Re: get location name

Posted: 12 May 2017 18:51
by akapelis
Martin wrote:Hi,

You can use {location,locationformat} to get the address for the location stored in variable location. You can do this for example in action Notification on Screen or any other action that supports variables.

Regards,
Martin
It was so simple :) thank you very much.

Re: get location name

Posted: 13 Oct 2019 22:08
by Philip
This has recently stopped working for me.

Instead of {location,locationformat} providing the street address, I now just get the latitude and longitude (e.g. my speech output used to say "Location is 123 High Street, Anytown" and it now says "Location is 1.234, 5.678").

Is anybody else experiencing this issue, or is it a problem local to my handset?

Re: get location name

Posted: 14 Oct 2019 03:37
by Desmanto
Philip wrote:
13 Oct 2019 22:08
This has recently stopped working for me.

Instead of {location,locationformat} providing the street address, I now just get the latitude and longitude (e.g. my speech output used to say "Location is 123 High Street, Anytown" and it now says "Location is 1.234, 5.678").

Is anybody else experiencing this issue, or is it a problem local to my handset?
{location,locationformat} or {location,locationformat,multiline} is reverse geocoding, that requires internet connection. If your internet is limited or no connection, the script will not return any readable address.

Re: get location name

Posted: 14 Oct 2019 10:31
by Philip
Thanks.

I do have an internet connection, but further testing has shown that the problem was being caused by Blokada (an ad blocking app).

UPDATE: I have found that whitelisting geomobileservices-pa.googleapis.com in Blockada allows the street address to be found.