Skip to content

Maps ​

Location, directions, and weather.

import Maps;

findLocations ​

findLocations(sortBy: Enum, order: Enum, WFContentItemLimit: Boolean, WFContentItemLimitNumber: Number) -> Location
ParameterTypeDefault
sortByName | Street | City | State | ZIP Code | Country | Phone Number | URL | Latitude | Longitude | Altitude—
orderLatest First | Oldest First—
WFContentItemLimitBooleanfalse
WFContentItemLimitNumberNumber5

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

findPlaces ​

Finds nearby places using Maps, and returns the results.

findPlaces(location: Text, search: Text, radius: Number, sortBy: Enum) -> Location
ParameterTypeDefault
locationText—
searchText—
radiusNumber—
sortByRelevance | Distance"Relevance"

Shortcuts action: is.workflow.actions.searchlocalbusinesses

getCurrentLocation ​

Gets the current location of the device.

getCurrentLocation(precision: Text) -> Location
ParameterTypeDefault
precisionText—

Shortcuts action: is.workflow.actions.getcurrentlocation

getCurrentWeather ​

Gets the current weather conditions at the specified location.

getCurrentWeather(location: Text) -> Weather
ParameterTypeDefault
locationText—

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

getDetailsOfLocations ​

getDetailsOfLocations(get: Enum) -> Any
ParameterTypeDefault
getName | Street | City | State | ZIP Code | Country | Phone Number | URL | Latitude | Longitude | Altitude—

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

getDetailsOfParkedCar ​

getDetailsOfParkedCar(get: Enum) -> Any
ParameterTypeDefault
getName | Location | Notes | Photo—

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

getDetailsOfRideStatus ​

getDetailsOfRideStatus(get: Enum) -> Any
ParameterTypeDefault
getRide Status | Pickup Location | Drop-off Location | Estimated Pickup Date—

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

getDetailsOfWeatherConditions ​

getDetailsOfWeatherConditions(get: Enum) -> Any
ParameterTypeDefault
getDate | Condition | Temperature | High Temperature | Low Temperature | Feels Like | Humidity | Visibility | Pressure | Dew Point | UV Index | Wind Speed | Wind Direction | Precipitation Chance | Precipitation Amount | Sunrise Time | Sunset Time | Air Quality Index | Air Quality Category | Location—

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

getDistance ​

Calculates the distance to the location passed into this action.

getDistance(startLocation: Text, endLocation: Text, routeType: Enum, unit: Text, precision: Text) -> Number
ParameterTypeDefault
startLocationText—
endLocationText—
routeTypeDirect | Driving | Walking | Biking"Direct"
unitText—
precisionText—

Shortcuts action: is.workflow.actions.getdistance

getHalfwayPoint ​

Gets the halfway point between two locations.

getHalfwayPoint(firstLocation: Text, secondLocation: Text) -> Location
ParameterTypeDefault
firstLocationText—
secondLocationText—

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(location: Text) -> URL
ParameterTypeDefault
locationText—

Shortcuts action: is.workflow.actions.getmapslink

getParkedCarLocation ​

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

getParkedCarLocation() -> ParkedCar

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(startLocation: Text, endLocation: Text, mode: Enum) -> TravelTime
ParameterTypeDefault
startLocationText—
endLocationText—
modeDriving | Walking | Transit | Biking"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(location: Text, type: Enum) -> Weather
ParameterTypeDefault
locationText—
typeHourly | Daily"Daily"

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

location ​

Passes the specified location to the next action.

location(location: Text) -> Location
ParameterTypeDefault
locationText—

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(location: Text, destination: Text, app: Text, mode: Text)
ParameterTypeDefault
locationText—
destinationText—
appText"Maps"
modeText"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(location: Text, app: Text)
ParameterTypeDefault
locationText—
appText"Maps"

Shortcuts action: is.workflow.actions.searchmaps

requestRide ​

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

requestRide(pickupLocation: Text, dropOffLocation: Text, rideType: Text, paymentMethod: Text, partySize: Number) -> RideStatus
ParameterTypeDefault
pickupLocationText—
dropOffLocationText—
rideTypeText—
paymentMethodText—
partySizeNumber1

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

setParkedCar ​

Saves details of your Parked Car in the Maps app.

setParkedCar(location: Text, notes: Text, image: Image) -> ParkedCar
ParameterTypeDefault
locationText—
notesText—
imageImage—

Shortcuts action: is.workflow.actions.setparkedcar

streetAddress ​

Passes the specified address to the next action.

streetAddress(line1: Text, line2: Text, city: Text, state: Text, postalCode: Text, region: Text) -> Location
ParameterTypeDefault
line1Text—
line2Text—
cityText—
stateText—
postalCodeText—
regionText—

Shortcuts action: is.workflow.actions.address