public class MapOverlay extends ItemizedOverlay<OverlayItem> {
....
public MapOverlay(Drawable defaultMarker, Context context) {
//super(defaultMarker);
super(boundCenterBottom(defaultMarker));
}
....
}
MapOverlay class gets drawable as a constructor argument. Is is possible to change that image when drawing point on the map?
What I want do is to write markers with different icon images.
1 Answer