This commit is contained in:
Alexey Pelykh 2014-10-17 17:59:17 +03:00
parent 561348a705
commit 1496983fa4
2 changed files with 4 additions and 4 deletions

View file

@ -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)");

View file

@ -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)"));