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);
|
atlasRendererConfiguration.setReferenceTileSizeOnScreenInPixels(_referenceTileSize);
|
||||||
_mapRenderer.setConfiguration(AtlasMapRendererConfiguration.Casts.downcastTo_MapRendererConfiguration(atlasRendererConfiguration));
|
_mapRenderer.setConfiguration(AtlasMapRendererConfiguration.Casts.downcastTo_MapRendererConfiguration(atlasRendererConfiguration));
|
||||||
|
|
||||||
_mapRenderer.addSymbolProvider(_binaryMapStaticSymbolsProvider);
|
_mapRenderer.addSymbolsProvider(_binaryMapStaticSymbolsProvider);
|
||||||
updateView();
|
updateView();
|
||||||
/*
|
/*
|
||||||
IMapRasterLayerProvider mapnik = OnlineTileSources.getBuiltIn().createProviderFor("Mapnik (OsmAnd)");
|
IMapRasterLayerProvider mapnik = OnlineTileSources.getBuiltIn().createProviderFor("Mapnik (OsmAnd)");
|
||||||
|
|
|
@ -165,9 +165,9 @@ public class NativeQtLibrary {
|
||||||
BinaryMapRasterLayerProvider_Software binaryMapRasterLayerProvider = notGc(new BinaryMapRasterLayerProvider_Software(
|
BinaryMapRasterLayerProvider_Software binaryMapRasterLayerProvider = notGc(new BinaryMapRasterLayerProvider_Software(
|
||||||
binaryMapPrimitivesProvider));
|
binaryMapPrimitivesProvider));
|
||||||
mapRenderer.setMapLayerProvider(0, binaryMapRasterLayerProvider);
|
mapRenderer.setMapLayerProvider(0, binaryMapRasterLayerProvider);
|
||||||
// BinaryMapStaticSymbolsProvider binaryMapStaticSymbolsProvider = notGc(new BinaryMapStaticSymbolsProvider(
|
BinaryMapStaticSymbolsProvider binaryMapStaticSymbolsProvider = notGc(new BinaryMapStaticSymbolsProvider(
|
||||||
// binaryMapPrimitivesProvider, rasterTileSize));
|
binaryMapPrimitivesProvider, rasterTileSize));
|
||||||
// mapRenderer.addSymbolProvider(binaryMapStaticSymbolsProvider);
|
mapRenderer.addSymbolsProvider(binaryMapStaticSymbolsProvider);
|
||||||
} else {
|
} else {
|
||||||
OnlineRasterMapLayerProvider onlineMapRasterLayerProvider = notGc(OnlineTileSources.getBuiltIn()
|
OnlineRasterMapLayerProvider onlineMapRasterLayerProvider = notGc(OnlineTileSources.getBuiltIn()
|
||||||
.createProviderFor("Mapnik (OsmAnd)"));
|
.createProviderFor("Mapnik (OsmAnd)"));
|
||||||
|
|
Loading…
Reference in a new issue