未验证 提交 13d48466 编写于 作者: V Vergil 提交者: GitHub

地图位置标记

修改关键字搜索结果的显示
上级 3d60220b
......@@ -64,21 +64,15 @@ public class PoiOverlay extends OverlayManager {
if (mPoiResult.getAllPoi().get(i).location == null) {
continue;
}
// curInd = i;
Bundle bundle = new Bundle();
bundle.putInt("index", curInd++);
markerList.add(new MarkerOptions()
.icon(BitmapDescriptorFactory.fromAssetWithDpi("ic_location_on_black_36dp.png")).extraInfo(bundle)
.position(mPoiResult.getAllPoi().get(i).location));
// markerList.add(new MarkerOptions()
// .icon(BitmapDescriptorFactory.fromAssetWithDpi("Icon_mark"
// + markerSize + ".png")).extraInfo(bundle)
// .position(mPoiResult.getAllPoi().get(i).location));
}
}
if (!(mSuggestionResult == null || mSuggestionResult.getAllSuggestions() == null)){
// curInd++;
for (int j = 0; j < mSuggestionResult.getAllSuggestions().size(); j++) {
if (mSuggestionResult.getAllSuggestions().get(j).pt == null) {
continue;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册