How to drop a pin?

Post your questions and help other users.

Moderator: Martin

Post Reply
evebrea
Posts: 116
Joined: 12 Aug 2013 15:28

How to drop a pin?

Post by evebrea » 25 Oct 2016 07:28

I have "init variable location" and i see that can get my location with my GPS, but how would i drop a pin on google maps or some such with this, so i can look at it later, or view it on my pc?

Like, i want to be able to pull down my notification drawer, and click "Save this location", and then have it ask me for a name, in which i could type "Yard sale" , and it would save it to google maps as a place i can view and/or go back to later.

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

Re: How to drop a pin?

Post by Martin » 25 Oct 2016 13:46

Hi,

You could use action Start Activity with example Google Maps: with coordinates and label to open maps and add a pin.
You can replace the coordinates 48.858231,2.294462 with a variable like {location,locationformat,decimal}

Regards,
Martin

evebrea
Posts: 116
Joined: 12 Aug 2013 15:28

Re: How to drop a pin?

Post by evebrea » 27 Oct 2016 16:59

Martin wrote:Hi,

You could use action Start Activity with example Google Maps: with coordinates and label to open maps and add a pin.
You can replace the coordinates 48.858231,2.294462 with a variable like {location,locationformat,decimal}

Regards,
Martin
I guess that's my bad. What I meant is a way to save it as like...saved location so I can look at/ go to it later. As a waypoint of sorts. Like "found cool thing here,go back later". Drop pin only seems to be making a marker I can navigate back to right now...unless I'm misunderstanding it

Ah,i suppose what I mean in Google maps app terms is "labelled" or "saved" places

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

Re: How to drop a pin?

Post by Martin » 28 Oct 2016 19:07

I'm not aware about a way to save the location in Google Maps. The official supported intents are documented here: https://developers.google.com/maps/docu ... ents?hl=en and a few also here: https://developer.android.com/guide/com ... ommon.html

You could also save the location in a global variable or a global list in Automagic and build a flow that can show the list and opens Google Maps when one of the locations is selected.

Regards,
Martin

Post Reply