remove tile load CancellationException
- does not work with GWT async loading
This commit is contained in:
parent
f51fb210b8
commit
feeebae5fb
@ -1,7 +1,5 @@
|
|||||||
package org.oscim.layers.tile.s3db;
|
package org.oscim.layers.tile.s3db;
|
||||||
|
|
||||||
import java.util.concurrent.CancellationException;
|
|
||||||
|
|
||||||
import org.oscim.backend.canvas.Color;
|
import org.oscim.backend.canvas.Color;
|
||||||
import org.oscim.core.GeometryBuffer.GeometryType;
|
import org.oscim.core.GeometryBuffer.GeometryType;
|
||||||
import org.oscim.core.MapElement;
|
import org.oscim.core.MapElement;
|
||||||
@ -56,9 +54,6 @@ class S3DBTileLoader extends TileLoader {
|
|||||||
try {
|
try {
|
||||||
/* query database, which calls process() callback */
|
/* query database, which calls process() callback */
|
||||||
mTileDataSource.query(mTile, this);
|
mTileDataSource.query(mTile, this);
|
||||||
} catch (CancellationException e) {
|
|
||||||
log.debug("{}", e);
|
|
||||||
return false;
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.debug("{}", e);
|
log.debug("{}", e);
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user