openlayers/openlayers — Issue #185: Tile rendering broken on Android 4.0 ICS
Author: colony
Created: 2012-01-27 14:31:46+00:00
State: open

Starting with Android 4, rendering of newly added tiles seems to be broken (on Android 2.1, 2.2, 2.3 and 3.0 it works as expected). When you scroll around the map or zoom into the map and new tiles are loaded to be displayed, they first appear distorted because it seems that they are fit into the remaining screen space. If CSS transitions are used, the trasition is applied to the distoreted image, and after the transition has finished, the image pops into it's final square shape. Without transitions, it is displayed distorted for a short moment of time and then pops into it's shape. On the two attached schreenshots you can see what I'm talking about.

This is pretty disturbing and makes navigating the map a mess. Unfortunately I have no Idea where to look for the issue, so I just wanted to ask if anyone has already fixed this issue (haven't found anything on the issue tracker), found a workaround or give me a hint where to look at. The issue is reproduceable with the mobile example (http://openlayers.org/dev/examples/mobile.html) on the Nexus S and the emulator (so I guess it affects every other ICS device as well).

Screenshot 1 - upper left corner messed up:
![Screenshot 1 - upper left corner messed up](http://img217.imageshack.us/img217/2994/screenshot2012012715041.png)

Screenshot 2 - left border messed up:
![Screenshot 2 - left border messed up](http://img402.imageshack.us/img402/2890/screenshot2012012715042.png)