当前位置: 代码迷 >> Android >> 百度android地图,要以当前位置为圆心画个半径200米的圆,代码如何写
  详细解决方案

百度android地图,要以当前位置为圆心画个半径200米的圆,代码如何写

热度:78   发布时间:2016-05-01 21:46:25.0
百度android地图,要以当前位置为圆心画个半径200米的圆,代码怎么写
求代码,初学,没有代码不懂

------解决方案--------------------
Query query = new Query(searchKey, PoiTypeDef.All);

PoiSearch poiSearch = new PoiSearch(this, getResources().getString(
R.string.maps_api_key), query);
SearchBound searchBound = new SearchBound(point,
pushSetting.IsFootType() ? footStep : driverStep);

poiSearch.setBound(searchBound);

try {
PoiPagedResult result = poiSearch.searchPOI();
------解决方案--------------------
用到图层overlay。普通的2d绘图。代码,太多了,也没有时间写
  相关解决方案