Issue with List<Overlay> method
<p>I am making an application which contains Google API for Geo Localization. In which i create an ItemizedOverlay and a map for location map, i cant see map on the emulator with manually setting pint-points. I create an List which method "add" can not be work on related this class which i show you and this class contains lots of error.
   ;
    import java.util.ArrayList;</p>

<pre><code>import android.content.Context;
import android.content.Intent;
import android.graphics.Canvas;
import android.graphics.drawable.Drawable;

import com.google.android.maps.MapView;
import com.google.android.maps.OverlayItem;

public class CheckInMapItemizedOverlay extends com.readystatesoftware.mapviewballoons.BalloonItemizedOverlay&lt;OverlayItem&gt;  { 

Drawable drawable;
boolean chkScreen;
String gmap_id;

private ArrayList&lt;OverlayItem&gt; m_overlays = new ArrayList&lt;OverlayItem&gt;();
private Context context;

public CheckInMapItemizedOverlay(Drawable defaultMarker, MapView mapView,boolean chkscr,String gmapid) {

    super(boundCenter(defaultMarker), mapView);

    drawable = defaultMarker;
//      int w = drawable.getIntrinsicWidth();
//      int h = drawable.getIntrinsicHeight();
//      drawable.setBounds(-w / 2, -h, w / 2, 0);

    drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight());


    context = mapView.getContext();
    chkScreen = chkscr;
    gmap_id = gmapid;
}

//  public static Drawable boundMyDrawable(Drawable d)
//  {
//       d.setBounds(d.getIntrinsicWidth() /- 2, d.getIntrinsicHeight() / -2,
//                   d.getIntrinsicWidth() / 2, d.getIntrinsicHeight() / 2);
//       return d;
//  }


public void addOverlay(OverlayItem overlay) {
    m_overlays.add(overlay);
    populate();

}

// all below override methods
protected OverlayItem createItem(int i) {
    return m_overlays.get(i);
}


public int size() {
    return m_overlays.size();
}



protected boolean onBalloonTap(int index, OverlayItem item) {
//      Toast.makeText(c, "onBalloonTap for overlay index " + index,
//              Toast.LENGTH_LONG).show();

    if(chkScreen == true)
    {
        Intent intent = new Intent(context,CheckInDetailsArrow.class);

        intent.putExtra("GMAP_ID",gmap_id);
        //System.out.println("Lat: "+item.getPoint().getLatitudeE6() /1E6);
        //System.out.println("lng: "+item.getPoint().getLongitudeE6() /1E6);

        intent.putExtra("Lat", item.getPoint().getLatitudeE6() / 1E6);
        intent.putExtra("Lng", item.getPoint().getLongitudeE6() /1E6);
        intent.putExtra("Name", item.getTitle());
        intent.putExtra("Addr", item.getSnippet());


        //System.out.println("Getting marker: "+);

                //HotSpotSettings.setBitmap(((BitmapDrawable)drawable).getBitmap(),context);
        context.startActivity(intent);

        return true;    
    }
    else
    {
        return false;
    }

}

@Override
public void draw(Canvas canvas, MapView mapView, boolean shadow)
{
    if(!shadow)
    {
        super.draw(canvas, mapView, false);
        boundCenter(drawable);
    }
  }

}
</code></pre>
