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.SerializableThe 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.StringiconThe URL for an icon associated with this vehicle type.java.lang.StringlocalIconThe URL for an icon based on the local transport signage.java.lang.StringnameThe name of the vehicle on this line.VehicleTypetypeThe 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.StringtoString()
-
-
-
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 theVehicleTypedocumentation 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.
-
-