Trying to change the marker from an overlay item I noticed the setMarker() makes the item not visible. Here's the code sample.
//Create new marker
Drawable icon = this.getResources().getDrawable(R.drawable.marker);
//Set the new marker to the overlay
overlayItem.setMarker(icon);
I believe this would work:
You will have to call
boundCenter
orboundCenterBottom
while adding overlay in map overlay list. InSetMarker()
just set the custom maker.A bounding rectangle needs to be specified for the Drawable: