public class BaiduMapPoiSearch
extends java.lang.Object
Constructor and Description |
---|
BaiduMapPoiSearch() |
Modifier and Type | Method and Description |
---|---|
static boolean |
dispatchPoiToBaiduMap(java.util.List<DispathcPoiData> datas,
Context context)
poi点集发送到百度地图
|
static void |
finish(Context context)
在结束调用退出时,调用此方法
|
static void |
openBaiduMapPanoShow(java.lang.String uid,
Context context)
调起百度地图poi全景展示页面
|
static boolean |
openBaiduMapPoiDetialsPage(PoiParaOption para,
Context context)
调起百度地图poi详情页面
|
static boolean |
openBaiduMapPoiNearbySearch(PoiParaOption para,
Context context)
调起百度地图poi周边检索页面
|
static void |
setSupportWebPoi(boolean isSupport)
设置是否在没有百度地图时支持webApp调起poi检索,默认支持
|
public static void setSupportWebPoi(boolean isSupport)
isSupport
- true为支持,false为不支持public static boolean openBaiduMapPoiDetialsPage(PoiParaOption para, Context context)
para
- poi检索参数,uid不能为空。context
- 启动poi详情页面的Activity.IllegalPoiSearchArgumentException
- 非法poi检索参数PoiParaOption
public static boolean openBaiduMapPoiNearbySearch(PoiParaOption para, Context context)
para
- poi检索参数,key、center不能为空;radius大于0;poi检索中心点经纬度不能为0。context
- 启动poi详情页面的Activity.IllegalPoiSearchArgumentException
- 非法poi检索参数PoiParaOption
public static void openBaiduMapPanoShow(java.lang.String uid, Context context)
uid
- poi点的uidcontext
- 启动poi全景展示页的Activity.public static boolean dispatchPoiToBaiduMap(java.util.List<DispathcPoiData> datas, Context context) throws java.lang.Exception
datas
- poi点集数据,可来源于poi检索或地图点击等context
- 启动发送任务的Activity.java.lang.Exception
public static void finish(Context context)
context
- 启动调用的activity