google-maps-documentation

Duration interface

google.maps.Duration interface

A representation of duration as a numeric value and a display string.

Properties
text
Type:  string
A string representation of the duration value.
value
Type:  number
The duration in seconds.