Contents

Route

Information about a route, including step-by-step instructions, distance, and estimated travel time.

Declaration

class Route

Overview

A Route object encapsulates the complete information for a route that the server returns, including geometry that you can use to draw a path and step-by-step text instructions. You don’t instantiate Route objects directly; MapKit JS returns them as part of the DirectionsResponse.

Topics

Route geometry

Route details

See Also

Getting directions