Skip to content

Instantly share code, notes, and snippets.

Created Oct 22, 2018
What would you like to do?
let origin = element("placeOrigin").value;
let destination = element("placeDestination").value;
let directionRequest = {
origin : origin,
destination : destination,
transportType : mapkit.Directions.Transport.Automobile,
requestsAlternateRoutes : multiRoute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment