类 SpeedLimit
java.lang.Object
ai.nextbillion.maps.model.SpeedLimit
- 所有已实现的接口:
java.io.Serializable
public class SpeedLimit
extends java.lang.Object
implements java.io.Serializable
A speed limit result from the Roads API.
- 另请参阅:
- 序列化表格
-
字段概要
字段 修饰符和类型 字段 说明 java.lang.StringplaceIdA unique identifier for a place.doublespeedLimitThe speed limit for that road segment, specified in kilometers per hour. -
构造器概要
构造器 构造器 说明 SpeedLimit() -
方法概要
修饰符和类型 方法 说明 longspeedLimitMph()java.lang.StringtoString()
-
字段详细资料
-
placeId
public java.lang.String placeIdA unique identifier for a place. All placeIds returned by the Roads API will correspond to road segments. -
speedLimit
public double speedLimitThe speed limit for that road segment, specified in kilometers per hour.To obtain the speed in miles per hour, use
speedLimitMph().
-
-
构造器详细资料
-
SpeedLimit
public SpeedLimit()
-
-
方法详细资料
-
speedLimitMph
public long speedLimitMph()- 返回:
- Returns the speed limit in miles per hour (MPH).
-
toString
public java.lang.String toString()- 覆盖:
toString在类中java.lang.Object
-