google.maps.TransitVehicle
interface
Information about the vehicle that operates on a transit line.
| Properties | |
|---|---|
icon |
Type:
stringA URL for an icon that corresponds to the type of vehicle used on this line. |
local_icon |
Type:
stringA URL for an icon that corresponds to the type of vehicle used in this region instead of the more general icon. |
name |
Type:
stringA name for this type of TransitVehicle, e.g. "Train" or "Bus". |
type |
Type:
VehicleTypeThe type of vehicle used, e.g. train, bus, or ferry. |