我想拍一张我的地图的快照:
SnapshotReadyCallback callback = new SnapshotReadyCallback() {
Bitmap bitmap;
@Override
public void onSnapshotReady(Bitmap snapshot) {
// TODO Auto-generated method stub
bitmap = snapshot;
}
};
map.snapshot(callback);
但它给了我这个错误:
width and height must be > 0