- MapView now requires to setMapDatabase(MapOptions) explicitly
- pass MapOptions when opening MapDatabase
This commit is contained in:
@@ -478,6 +478,9 @@ public class TileGenerator implements IRenderCallback, IMapDatabaseCallback {
|
||||
private String mMapProjection;
|
||||
|
||||
public void setMapDatabase(IMapDatabase mapDatabase) {
|
||||
if (mMapDatabase != null)
|
||||
mMapDatabase.close();
|
||||
|
||||
mMapDatabase = mapDatabase;
|
||||
mMapProjection = mMapDatabase.getMapProjection();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user