I want to take a snapshot of my map:
SnapshotReadyCallback callback = new SnapshotReadyCallback() {
Bitmap bitmap;
@Override
public void onSnapshotReady(Bitmap snapshot) {
// TODO Auto-generated method stub
bitmap = snapshot;
}
};
map.snapshot(callback);
But it gives me this error:
width and height must be > 0