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”.