尝试更改覆盖物项的标记时,我注意到setMarker()会使该项不可见。下面是代码示例。
//Create new marker
Drawable icon = this.getResources().getDrawable(R.drawable.marker);
//Set the new marker to the overlay
overlayItem.setMarker(icon);
setBounds()
指定边界矩形。 - slybloty