google-maps-documentation

TransitVehicle interface

google.maps.TransitVehicle interface

Information about the vehicle that operates on a transit line.

Properties
icon
Type:  string
A URL for an icon that corresponds to the type of vehicle used on this line.
local_icon
Type:  string
A URL for an icon that corresponds to the type of vehicle used in this region instead of the more general icon.
name
Type:  string
A name for this type of TransitVehicle, e.g. "Train" or "Bus".
type
Type:  VehicleType
The type of vehicle used, e.g. train, bus, or ferry.