程序包 | 说明 |
---|---|
com.mapbar.navi |
导航应用开发包
支持多规则算路,引导语音播报,电子眼播报,放大图显示等导航特色功能, 可以独立使用,来开发导航应用,也可以配合图吧提供的地图应用开发包,开发带有3D地图的导航应用。 |
com.mapbar.poiquery |
POI搜索应用开发包
可以通过此开发包开发各类POI搜索应用,此包提供了关键字搜索,周边快捷类型索搜,周边关键字搜索,门址搜索等常用搜索功能。 |
限定符和类型 | 方法和说明 |
---|---|
PoiFavorite |
RoutePlan.getDestination(int index)
根据索引值获取当前路线规划中的POI信息
|
限定符和类型 | 方法和说明 |
---|---|
void |
RoutePlan.addDestination(PoiFavorite fav)
添加目的地点
第一次调用,添加起点 第二次调用,添加终点 第三次调用,添加终点,但第二次调用时候产生的终点变为途径点 依次类推 |
boolean |
RoutePlan.addWayPoint(PoiFavorite fav)
添加途经点,顺序添加,途经点最多只能有三个
|
void |
RoutePlan.insertDestination(int index,
PoiFavorite fav)
在指定索引的位置插入POI点
插入之后,此索引位置以后的点都向后移动 |
void |
RoutePlan.setDestination(int index,
PoiFavorite fav)
设置路线规划中的指定索引值的POI点信息,用于算路
使用此方法将覆盖原本索引值所在的POI点信息 |
boolean |
RoutePlan.setEndPoint(PoiFavorite fav)
设置终点
|
void |
RoutePlan.setStartPoint(PoiFavorite fav)
设置起点
|
boolean |
RoutePlan.setWayPoint(int index,
PoiFavorite fav)
设置途经点,使用此方法将替换原本设置过的途经点,途经点最多只能有三个
|
限定符和类型 | 字段和说明 |
---|---|
PoiFavorite |
PoiFavoriteInfo.fav
POI信息
PoiFavorite |
限定符和类型 | 方法和说明 |
---|---|
PoiFavorite |
PoiItem.toPoiFavorite() |
PoiFavorite |
ReverseGeocoderDetail.toPoiFavorite() |
©Mapbar Engine Team;All Rights Reserved