Package com.google.maps.model
Class Vehicle
- java.lang.Object
-
- com.google.maps.model.Vehicle
-
- All Implemented Interfaces:
java.io.Serializable
public class Vehicle extends java.lang.Object implements java.io.Serializable
The vehicle used on a line.See Transit details for more detail.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
icon
The URL for an icon associated with this vehicle type.java.lang.String
localIcon
The URL for an icon based on the local transport signage.java.lang.String
name
The name of the vehicle on this line.VehicleType
type
The type of vehicle that runs on this line.
-
Constructor Summary
Constructors Constructor Description Vehicle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
name
public java.lang.String name
The name of the vehicle on this line. E.g."Subway"
.
-
type
public VehicleType type
The type of vehicle that runs on this line. See theVehicleType
documentation for a complete list of supported values.
-
icon
public java.lang.String icon
The URL for an icon associated with this vehicle type.
-
localIcon
public java.lang.String localIcon
The URL for an icon based on the local transport signage.
-
-