Package | Description |
---|---|
com.baidu.mapapi.favorite |
收藏夹相关方法
|
Modifier and Type | Method and Description |
---|---|
FavoritePoiInfo |
FavoritePoiInfo.addr(java.lang.String addr)
poi点地址,可选
|
FavoritePoiInfo |
FavoritePoiInfo.cityName(java.lang.String cityName)
poi点所在城市名,可选
|
FavoritePoiInfo |
FavoriteManager.getFavPoi(java.lang.String id)
获取一个收藏点信息
|
FavoritePoiInfo |
FavoritePoiInfo.poiName(java.lang.String name)
poi点名称,必选
|
FavoritePoiInfo |
FavoritePoiInfo.pt(LatLng pt)
poi点坐标,必选
|
FavoritePoiInfo |
FavoritePoiInfo.uid(java.lang.String uid)
poi点UID,可选
|
Modifier and Type | Method and Description |
---|---|
java.util.List<FavoritePoiInfo> |
FavoriteManager.getAllFavPois()
获取所有收藏点信息
|
Modifier and Type | Method and Description |
---|---|
int |
FavoriteManager.add(FavoritePoiInfo poiInfo)
添加一个poi点
|
boolean |
FavoriteManager.updateFavPoi(java.lang.String id,
FavoritePoiInfo info)
更新一个收藏点
|