Find your latitude and longitude with Siri

Learn how to build a set of actions that use your location data to display your latitude and longitude coordinates on your iPhone with a voice command!

Siri User Guide
Siri User Guide

Using Siri Shortcuts, we can put together a short set of actions to utilize your location data and display your latitude and longitude coordinates just by using a voice command.

Hey Siri, where am I?

How to build the latitude and longitude finder in Siri Shortcuts

  1. Open the Shortcuts app on your iPhone.
  2. With the My Shortcuts page open, tap on Create Shortcut.
  3. Tap on the small blue circle with three dots inside to give your Shortcut a name. Use something memorable, as this will be the command used to trigger Siri into processing the Shortcut. In this example, we’ll call it ‘Where am I’.
  4. Choose a color and glyph if you fancy getting creative.
  5. Click Done.
  6. Tap Add Action.
  7. Type ‘Location’ in the search bar and choose Get Current Location from the list of actions that appear.
  8. Tap the blue plus icon to add the following action.
  9. Type ‘Var’ in the search bar and choose Set Variable from the list of actions that appears. We’ll use this action to extract the data we need from your location.
  10. Tap on Variable Name and type Location.
  11. Tap the blue plus icon to add the next action.
  12. Type ‘Location’ in the search bar and choose Get Details of Location from the list of actions that appear.
  13. Tap on Detail and choose Latitude from the list.
  14. Tap on Location and choose the Location variable we set earlier.
  15. Tap the blue plus icon to add the next action.
  16. Type ‘Location’ in the search bar and choose Get Details of Location from the list of actions that appear.
  17. Tap on Detail and choose Longitude from the list.
  18. Tap on Location and choose the Location variable we set earlier.
  19. In the search field, type ‘Alert’ and select the Show alert action from the list.
  20. The alert action allows the Shortcut to show the results of our Shortcut.
  21. Tap on the blue ‘Do you want to continue’ text and edit it to say ‘Latitude:’, then tap on the Latitude variable displayed above the keyboard. Type ‘Longitude:’ and select the Longitude variable.
  22. Select Show More** at the bottom of the action, and toggle off Show Cancel Button**’.

You’re done!

Latitude and Longitude Shortcut
Latitude and Longitude Shortcut Steps

Trigger the shortcut

Now you can ask for your latitude and longitude coordinates by saying:

Hey Siri, where am I?
Latitude and Longitude Results

You can also initiate the Shortcut by adding it to the home screen or accessing it via the widget.

Want to discover more about using Siri, Apple’s popular virtual assistant? We’ve written a helpful collection of tutorials full of techniques for using apps, dictation, using Siri Shortcuts, and a comprehensive beginner’s guide to activating and using Siri.

TutorialsiPhone