Navigation SDK is currently available only to select customers. Contact sales to learn more.

GMSNavigationTimeAndDistance Class Reference

Stay organized with collections Save and categorize content based on your preferences.
GMSNavigationTimeAndDistance Class Reference

Overview

An immutable class that encapsulates the distance remaining and the ETA for a route.

Properties

NSTimeInterval durationSeconds
 The duration for this route, in seconds.
CLLocationDistance distanceMeters
 The travel distance of this route, in meters.

Property Documentation

- (NSTimeInterval) durationSeconds [read, assign]

The duration for this route, in seconds.

- (CLLocationDistance) distanceMeters [read, assign]

The travel distance of this route, in meters.