【发布时间】:2015-06-19 09:04:46
【问题描述】:
我有一个带有信息窗口的标记。我怎样才能从地图上移除那个绿色的手指?看看这个:
我的代码:
Marker startMarker = new Marker(mapView);
startMarker.setPosition(gPt);
startMarker.setIcon(null);//doesn't help
startMarker.setAnchor(Marker.ANCHOR_CENTER, 1.0f);
InfoWindow infoWindow = new MyInfoWindow(R.layout.bonuspack_bubble,
mapView, company);
startMarker.setInfoWindow(infoWindow);
startMarker.setTitle(company.getName());
startMarker.showInfoWindow();
mapView.getOverlays().add(startMarker);
【问题讨论】:
-
将标记图标替换为透明图标
-
参考this