Hi, Peter,
Actually, if you look my code, I have a global array of overlay item.
And I override following code:
public int size()
{
return mFriendList.size();
}
public LptOverlayItem createItem(int i)
elephantbug wrote:
I extend the MapActivity and have an ItemizedOverlay which will
display array of items(For example, people) on top of MapView. These
items' location are moving and some new items might be added in or
some might be removed. There is another thread managing these items.
Hi
this can be trigger by not create OverlayItem
//customized ItemizedOverlay
protected class FriendOverLay extends ItemizedOverlayOverlayItem
private ListOverlayItem mItemList = new ArrayListOverlayItem();
{
public FriendOverLay(Drawable marker) {
super(marker);
*mItemList.add(new
3 matches
Mail list logo