You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description and/or steps/code to reproduce the problem
TileLooper.java has a method : loop(final double pZoomLevel, final RectL pMercatorViewPort);
`
protected void loop(final double pZoomLevel, final RectL pMercatorViewPort)
{
TileSystem.getTileFromMercator(pMercatorViewPort, TileSystem.getTileSize(pZoomLevel), mTiles);
mTileZoomLevel = TileSystem.getInputTileZoomLevel(pZoomLevel);
initialiseLoop();
final int mapTileUpperBound = 1 << mTileZoomLevel;
/* Draw all the MapTiles (from the upper left to the lower right). */
for (int i = mTiles.left ; i <= mTiles.right ; i ++) {
for (int j = mTiles.top ; j <= mTiles.bottom ; j ++) {
if ((horizontalWrapEnabled || (i >= 0 && i < mapTileUpperBound)) && (verticalWrapEnabled
|| (j >= 0 && j < mapTileUpperBound))) {
final int tileX = MyMath.mod(i, mapTileUpperBound);
final int tileY = MyMath.mod(j, mapTileUpperBound);
final long tile = MapTileIndex.getTileIndex(mTileZoomLevel, tileX, tileY);
handleTile(tile, i, j);
}
}
}
finaliseLoop();
}
`
now,"int mapTileUpperBound = 1 << mTileZoomLevel" only support the osm style map, can not load the map tiles when the zoom is 0 ,but it has more than one tiles,such as the arcgis offline files.
Environment
If it's a bug, version(s) of android this affects:
All
Version of osmdroid the issue relates to:
6.1.2
The text was updated successfully, but these errors were encountered:
Issue Type
[X ] Questionn
Description and/or steps/code to reproduce the problem
TileLooper.java has a method : loop(final double pZoomLevel, final RectL pMercatorViewPort);
`
protected void loop(final double pZoomLevel, final RectL pMercatorViewPort)
{
}
`
now,"int mapTileUpperBound = 1 << mTileZoomLevel" only support the osm style map, can not load the map tiles when the zoom is 0 ,but it has more than one tiles,such as the arcgis offline files.
Environment
If it's a bug, version(s) of android this affects:
All
Version of osmdroid the issue relates to:
6.1.2
The text was updated successfully, but these errors were encountered: