diff --git a/OsmAnd/src/net/osmand/core/android/GLActivity.java b/OsmAnd/src/net/osmand/core/android/GLActivity.java index 028d216a8f..c2a0003210 100644 --- a/OsmAnd/src/net/osmand/core/android/GLActivity.java +++ b/OsmAnd/src/net/osmand/core/android/GLActivity.java @@ -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)"); diff --git a/OsmAnd/src/net/osmand/plus/views/corenative/NativeQtLibrary.java b/OsmAnd/src/net/osmand/plus/views/corenative/NativeQtLibrary.java index af04dc32ad..c4412d5cb1 100644 --- a/OsmAnd/src/net/osmand/plus/views/corenative/NativeQtLibrary.java +++ b/OsmAnd/src/net/osmand/plus/views/corenative/NativeQtLibrary.java @@ -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)"));