Osmdroid ItemizedOverlay error: boundCenterBottom (Drawable) method is undefined for type

I've been struggling with this issue for hours now:

I'm trying to get my itemizedoverlay to work, but I keep getting this error:

The method boundCenterBottom(Drawable) is undefined for the type 


my class:

    public MyDynamicItemizedOverlay(Drawable defaultMarker) {

        items = new ArrayList<OverlayItem>();


    public void addNewItem(GeoPoint location, String markerText,
            String snippet) {
        items.add(new OverlayItem(snippet, markerText, location));

    public void removeItem(int index) {

    protected OverlayItem createItem(int index) {
        return items.get(index);

    public int size() {
        return items.size();

    public boolean onSnapToItem(int arg0, int arg1, Point arg2,
            IMapView arg3) {
        // TODO Auto-generated method stub
        return false;



I am using osmdroid-android-3.0.8 and 3.0.7 (tried both). ItemizedOverlay actually doesn't seem to have such a constructor, but ALL the samples I was able to Google google followed the same pattern ...


source to share

1 answer

OK, it seems that the answer to my question is that this method is not implemented in osmdroid and:



should use insteed



All Articles