Search
Sunday
Aug092015

Workflow Example: Current Location Map URL

This workflow uses the device’s current geographic location and then displays it in the user’s choice of the Apple Maps app or the Google Maps app (the Google Maps app should be installed for this to work).

At the time of writing, the current version of Workflow contains an action to open a location in Apple Maps, but not in Google Maps. The Apple Maps actions are therefore quite straight forward. For the Google Maps app, the longitude & latitude of the current position are passed as parameters (along with a specified map zoom level) to a URL string that will open the Google Maps app.

The workflow does not automatically open the specified mapping application, but first prompts the user to select an option from “Copy to Clipboard”, “Share”, “Share with Extensions” (full share sheet) or “View in App”.

References (15)

References allow you to track sources for this article, as well as articles that were written in response to this article.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>