Use Tree Navigation
public class

TrafficLight

extends Object
implements Serializable
java.lang.Object
   ↳ com.tencent.map.navi.data.TrafficLight

Class Overview

红绿灯数据。

Summary

Public Constructors
TrafficLight()
Public Methods
double getLatitude()
获取红绿灯坐标之纬度。
double getLongitude()
获取红绿灯坐标之经度。
int getPointIndex()
获取红绿灯在路线点串索引。
void setLatitude(double mLatitude)
设置红绿灯坐标之纬度。
void setLongitude(double mLongitude)
设置红绿灯坐标之经度。
void setPointIndex(int mPointIndex)
设置红绿灯在路线点串索引。
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TrafficLight ()

Public Methods

public double getLatitude ()

获取红绿灯坐标之纬度。

Returns
  • 纬度

public double getLongitude ()

获取红绿灯坐标之经度。

Returns
  • 经度

public int getPointIndex ()

获取红绿灯在路线点串索引。

Returns
  • 点串索引

public void setLatitude (double mLatitude)

设置红绿灯坐标之纬度。

Parameters
mLatitude 纬度

public void setLongitude (double mLongitude)

设置红绿灯坐标之经度。

Parameters
mLongitude 经度

public void setPointIndex (int mPointIndex)

设置红绿灯在路线点串索引。

Parameters
mPointIndex 点串索引