Osmdroid-Tile Provider with Higher Scale

I am trying to implement MapView using the osmdroid library, but the maximum zoom level is too low. I tried changing the source of the tiles to the tiles provided by the TileSourceFactory class. All have the same maximum zoom level (18).

I would like to know if there is any Tile provider that provides a higher level of scalability and how I can use it in my application.

thank

+4
source share
1 answer

, , zip-. , 22 .

22:

mapView.setMaxZoomLevel(22);

22 -:

mapView.getTileProvider().setTileSource(new XYTileSource("Mapnik",
            0, 22, 256, ".png", new String[] {
            "http://a.tile.openstreetmap.org/",
            "http://b.tile.openstreetmap.org/",
            "http://c.tile.openstreetmap.org/" }));

22 , , . @zIronManBox , osmdroid 22, , . , - .

+1

Source: https://habr.com/ru/post/1548322/


All Articles