Fix
This commit is contained in:
parent
561348a705
commit
1496983fa4
2 changed files with 4 additions and 4 deletions
|
@ -222,7 +222,7 @@ public class GLActivity extends Activity {
|
|||
atlasRendererConfiguration.setReferenceTileSizeOnScreenInPixels(_referenceTileSize);
|
||||
_mapRenderer.setConfiguration(AtlasMapRendererConfiguration.Casts.downcastTo_MapRendererConfiguration(atlasRendererConfiguration));
|
||||
|
||||
_mapRenderer.addSymbolProvider(_binaryMapStaticSymbolsProvider);
|
||||
_mapRenderer.addSymbolsProvider(_binaryMapStaticSymbolsProvider);
|
||||
updateView();
|
||||
/*
|
||||
IMapRasterLayerProvider mapnik = OnlineTileSources.getBuiltIn().createProviderFor("Mapnik (OsmAnd)");
|
||||
|
|
|
@ -165,9 +165,9 @@ public class NativeQtLibrary {
|
|||
BinaryMapRasterLayerProvider_Software binaryMapRasterLayerProvider = notGc(new BinaryMapRasterLayerProvider_Software(
|
||||
binaryMapPrimitivesProvider));
|
||||
mapRenderer.setMapLayerProvider(0, binaryMapRasterLayerProvider);
|
||||
// BinaryMapStaticSymbolsProvider binaryMapStaticSymbolsProvider = notGc(new BinaryMapStaticSymbolsProvider(
|
||||
// binaryMapPrimitivesProvider, rasterTileSize));
|
||||
// mapRenderer.addSymbolProvider(binaryMapStaticSymbolsProvider);
|
||||
BinaryMapStaticSymbolsProvider binaryMapStaticSymbolsProvider = notGc(new BinaryMapStaticSymbolsProvider(
|
||||
binaryMapPrimitivesProvider, rasterTileSize));
|
||||
mapRenderer.addSymbolsProvider(binaryMapStaticSymbolsProvider);
|
||||
} else {
|
||||
OnlineRasterMapLayerProvider onlineMapRasterLayerProvider = notGc(OnlineTileSources.getBuiltIn()
|
||||
.createProviderFor("Mapnik (OsmAnd)"));
|
||||
|
|
Loading…
Reference in a new issue