public class RouteNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
Modifier | Constructor and Description |
---|---|
|
RouteNode() |
protected |
RouteNode(Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
LatLng |
getLocation()
获取位置
|
java.lang.String |
getTitle()
获取标题
|
java.lang.String |
getUid()
当节点同时为POI时可用
|
static RouteNode |
location(LatLng location)
设置位置
|
void |
setLocation(LatLng location)
设置位置
|
void |
setTitle(java.lang.String title)
设置标题
|
void |
setUid(java.lang.String uid)
设置 uid
|
static RouteNode |
titleAndLocation(java.lang.String title,
LatLng location)
设置标题和位置
|
void |
writeToParcel(Parcel dest,
int flags) |
public static RouteNode titleAndLocation(java.lang.String title, LatLng location)
title
- 标题location
- 位置public static RouteNode location(LatLng location)
location
- 位置public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- 标题public LatLng getLocation()
public void setLocation(LatLng location)
location
- 位置public java.lang.String getUid()
public void setUid(java.lang.String uid)
uid
- uidpublic int describeContents()
public void writeToParcel(Parcel dest, int flags)