Open GoogleCodeExporter opened 9 years ago
Another work around is to expand the tile by 1 pixel in each direction before
its drawn, this of course causes the tiles to overlap eliminating the scaling
gap but the final render the tiles actually overlap
in TilesOverlay.java
protected void onTileReadyToDraw(final Canvas c, final Drawable currentMapTile,
final Rect tileRect) {
tileRect.offset(-mWorldSize_2, -mWorldSize_2);
currentMapTile.setBounds(tileRect.left - 1, tileRect.top - 1, tileRect.right + 1, tileRect.bottom + 1);
currentMapTile.draw(c);
}
For now I'm looking at instructing the tiles to overlap only when the map is
being pinch zoomed and removing the overlap when rendered normally
such that the second line becomes:
if (pinched)
currentMapTile.setBounds(tileRect.left - 1, tileRect.top - 1, tileRect.right + 1, tileRect.bottom + 1);
else
currentMapTile.setBounds(tileRect);
Original comment by t...@chellew.co.uk
on 5 Jul 2012 at 12:00
Issue 381 has been merged into this issue.
Original comment by kurtzm...@gmail.com
on 25 Jan 2013 at 8:20
Original issue reported on code.google.com by
Prot0n4...@gmail.com
on 15 Mar 2012 at 8:54