zeta243 / osmdroid

Automatically exported from code.google.com/p/osmdroid
1 stars 0 forks source link

mbtiles format - invalid tile_row value #341

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
displaying a map in mbtiles format didn't work for me with osmdroid 3.0.8.

i had to change line 48 in MBTilesFileArchive from

, Double.toString(Math.pow(2, pTile.getZoomLevel()) - pTile.getY() - 1)  // Use 
Google Tiling Spec

to 

, Integer.toString(pTile.getY())

Original issue reported on code.google.com by schizosfera@gmail.com on 2 May 2012 at 12:16

GoogleCodeExporter commented 9 years ago
Thank you for this!

Original comment by bhallier on 2 Jan 2014 at 4:59