Sending location link

General discussions about Automagic and automation in general

Moderator: Martin

jab0321
Posts: 8
Joined: 20 Jun 2014 16:03

Sending location link

Post by jab0321 » 20 Jun 2014 16:14

I have a flow that gets my current location and then sends an SMS with that location, but I am wondering if it is possible to send the location as a clickable link that is directed to Google maps? I have tried the different location formats, but it either sends the address or decimal format but I am not able to click the location and be directed to it in maps. Ideally I am looking to be able to send my location so that someone else can receive the SMS, click on the link and be shown my location in the Google maps app. Any help would be much appreciated!

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Sending location link

Post by Martin » 21 Jun 2014 07:10

Hi,

You can use the decimal location format to build a link to Google Maps. Something like this should work:

Code: Select all

http://maps.google.com/maps?ll={location,locationformat,decimal}
Regards,
Martin

jab0321
Posts: 8
Joined: 20 Jun 2014 16:03

Re: Sending location link

Post by jab0321 » 21 Jun 2014 13:51

Thank you Martin, works perfect now!

jab0321
Posts: 8
Joined: 20 Jun 2014 16:03

Re: Sending location link

Post by jab0321 » 29 Jun 2014 00:07

Actually just had some time to do more testing and the code you gave opens the maps app, but doesn't show a marker with the location. Is there a way to click on the link and have a marker dropped with the location?
Thanks for the ongoing help!

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Sending location link

Post by Akt » 29 Jun 2014 02:21

Hey can you please post the flow!!

jab0321
Posts: 8
Joined: 20 Jun 2014 16:03

Re: Sending location link

Post by jab0321 » 29 Jun 2014 14:07

Tried to attach the flow but it was rejected saying that is could be a possible attack vetor. How do I attach the flow? Thank you.

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Sending location link

Post by Akt » 30 Jun 2014 11:23

To attach the flow using mobile:-
Open the forum
Click publish flows/widgets situated at the bottom of the screen
The link will be copied to the clipboard
Paste the link in the reply
Thanx

jab0321
Posts: 8
Joined: 20 Jun 2014 16:03

Re: Sending location link

Post by jab0321 » 30 Jun 2014 14:33

Here's the flow I'm working on with the location link. Thank you for the directions on how to post.

http://automagic4android.com/flow.php?i ... 045a379de1

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Sending location link

Post by Akt » 30 Jun 2014 15:31

Hi
Thanx for the flow....

jab0321
Posts: 8
Joined: 20 Jun 2014 16:03

Re: Sending location link

Post by jab0321 » 30 Jun 2014 15:46

Sure thing. Any thoughts on how to make the map link show up with a marker/pin dropped?

Post Reply