Skip to content

Maps

Location, directions, and weather.

import Maps;

filterLocations

filterLocations()

Shortcuts action: is.workflow.actions.filter.locations

findPlaces

Finds nearby places using Maps, and returns the results.

findPlaces(WFInput: Text, WFSearchQuery: Text, WFSearchRadius: Number, WFSearchSortOrder: Text) -> Any
ParameterTypeDefault
WFInputText
WFSearchQueryText
WFSearchRadiusNumber
WFSearchSortOrderText"Relevance"

Shortcuts action: is.workflow.actions.searchlocalbusinesses

getCurrentLocation

Gets the current location of the device.

getCurrentLocation(Accuracy: Text) -> Any
ParameterTypeDefault
AccuracyText

Shortcuts action: is.workflow.actions.getcurrentlocation

getCurrentWeather

Gets the current weather conditions at the specified location.

getCurrentWeather(WFWeatherCustomLocation: Text) -> Any
ParameterTypeDefault
WFWeatherCustomLocationText

Shortcuts action: is.workflow.actions.weather.currentconditions

getDetailsOfLocations

getDetailsOfLocations()

Shortcuts action: is.workflow.actions.properties.locations

getDetailsOfParkedCar

getDetailsOfParkedCar()

Shortcuts action: is.workflow.actions.properties.parkedcar

getDetailsOfRideStatus

getDetailsOfRideStatus()

Shortcuts action: is.workflow.actions.properties.ridestatus

getDetailsOfWeatherConditions

getDetailsOfWeatherConditions()

Shortcuts action: is.workflow.actions.properties.weather.conditions

getDistance

Calculates the distance to the location passed into this action.

getDistance(WFGetDirectionsCustomLocation: Text, WFGetDistanceDestination: Text, WFGetDirectionsActionMode: Text, WFDistanceUnit: Text, Accuracy: Text) -> Number
ParameterTypeDefault
WFGetDirectionsCustomLocationText
WFGetDistanceDestinationText
WFGetDirectionsActionModeText"Direct"
WFDistanceUnitText
AccuracyText

Shortcuts action: is.workflow.actions.getdistance

getHalfwayPoint

Gets the halfway point between two locations.

getHalfwayPoint(WFGetHalfwayPointFirstLocation: Text, WFGetHalfwayPointSecondLocation: Text) -> Any
ParameterTypeDefault
WFGetHalfwayPointFirstLocationText
WFGetHalfwayPointSecondLocationText

Shortcuts action: is.workflow.actions.gethalfwaypoint

getMapsUrl

Creates a URL to search for the location, place, or text that was passed into the action in a separate maps app.

getMapsUrl(WFInput: Text) -> Text
ParameterTypeDefault
WFInputText

Shortcuts action: is.workflow.actions.getmapslink

getParkedCarLocation

Fetches the details of your Parked Car, as stored in the Maps app.

getParkedCarLocation() -> Any

Shortcuts action: is.workflow.actions.getparkedcarlocation

getTravelTime

Estimates the amount of time it will take to travel to the location passed into this action.

getTravelTime(WFGetDirectionsCustomLocation: Text, WFDestination: Text, WFGetDirectionsActionMode: Text) -> Any
ParameterTypeDefault
WFGetDirectionsCustomLocationText
WFDestinationText
WFGetDirectionsActionModeText"Driving"

Travel times are provided by Apple Maps and take into account current traffic conditions.

Shortcuts action: is.workflow.actions.gettraveltime

getWeatherForecast

Gets an hourly or daily weather forecast at the specified location.

getWeatherForecast(WFWeatherCustomLocation: Text, WFWeatherForecastType: Text) -> Any
ParameterTypeDefault
WFWeatherCustomLocationText
WFWeatherForecastTypeText"Daily"

Shortcuts action: is.workflow.actions.weather.forecast

location

Passes the specified location to the next action.

location(WFLocation: Text) -> Any
ParameterTypeDefault
WFLocationText

Shortcuts action: is.workflow.actions.location

openDirections

Opens directions to the location passed into this action in your choice of Maps, Google Maps, Citymapper, Transit, or Waze. For example, you can use this action to get directions to an upcoming event on your calendar.

openDirections(WFLocation: Text, WFDestination: Text, WFGetDirectionsActionApp: Text, WFGetDirectionsActionMode: Text)
ParameterTypeDefault
WFLocationText
WFDestinationText
WFGetDirectionsActionAppText"Maps"
WFGetDirectionsActionModeText"Driving"

Shortcuts action: is.workflow.actions.getdirections

openInMaps

Opens your choice of Maps, Google Maps, or Waze and searches for the location, place, or text that was passed into the action.

openInMaps(WFInput: Text, WFSearchMapsActionApp: Text)
ParameterTypeDefault
WFInputText
WFSearchMapsActionAppText"Maps"

Shortcuts action: is.workflow.actions.searchmaps

requestRide

Requests a ride from the specified pickup location to a specified drop off location.

requestRide(IntentAppDefinition: Text, PickupLocation: Text, DropOffLocation: Text, RideOption: Text, PaymentMethod: Text, PartySize: Number) -> Any
ParameterTypeDefault
IntentAppDefinitionText
PickupLocationText
DropOffLocationText
RideOptionText
PaymentMethodText
PartySizeNumber1

Shortcuts action: is.workflow.actions.ride.requestride

setParkedCar

Saves details of your Parked Car in the Maps app.

setParkedCar(WFLocation: Text, WFSetParkedCarNotes: Text, WFImage: Any) -> Any
ParameterTypeDefault
WFLocationText
WFSetParkedCarNotesText
WFImageAny

Shortcuts action: is.workflow.actions.setparkedcar

streetAddress

Passes the specified address to the next action.

streetAddress(WFAddressLine1: Text, WFAddressLine2: Text, WFCity: Text, WFState: Text, WFPostalCode: Text, WFCountry: Text) -> Text
ParameterTypeDefault
WFAddressLine1Text
WFAddressLine2Text
WFCityText
WFStateText
WFPostalCodeText
WFCountryText

Shortcuts action: is.workflow.actions.address