我尝试在地图中添加标记,我在日志中看不到这个标记: decoder-> decode返回false
public Drawable getBitmap(int azimut) {
Bitmap tempBMP = BitmapFactory.decodeResource(getResources(),R.drawable.znacznik44);
return new BitmapDrawable(getResources(),tempBMP);
}
for (int a = 0; a < anotherItemizedIconOverlay1.size(); a++) {
// anotherItemizedIconOverlay1.getItem(a).setMarker(new BitmapDrawable(getResources(), RotateMyBitmap(BitmapFactory.decodeResource(getResources(), R.drawable.res), singleton.listaVisible.get(a).azimuth)));
anotherItemizedIconOverlay1.getItem(a).setMarker(getBitmap(singleton.listaVisible.get(a).azimuth));
anotherItemizedIconOverlay1.getItem(a).setMarkerHotspot(CENTER);
}