[OpenLayers-Trac] Re: [OpenLayers] #3061: Investigate,
and if possible implement more efficient tile positioning
OpenLayers
trac-20090302 at openlayers.org
Tue Oct 25 09:32:31 EDT 2011
#3061: Investigate, and if possible implement more efficient tile positioning
-------------------------+--------------------------------------------------
Reporter: ahocevar | Owner:
Type: task | Status: closed
Priority: minor | Milestone: 2.12 Release
Component: Layer.Grid | Version: 2.10
Resolution: fixed | Keywords: mobile
State: Commit |
-------------------------+--------------------------------------------------
Comment(by rangoy):
Great work with this patch.
I am trying to use this (I currently test from the OpenLayers 3 git-repo),
and I am experiencing an a bit annoying artifact: In some browsers there
is a white bar between the tiles.
I've tried two approaches to fix this;
* I've tried to use translate: transform/scale on the div. The white bars
dissappeared, but other elements ended up in the wrong place. (This is
probably because i don't quite grasp how the positioning is done).
* Setting the the tilesize=divsize (100px) seems to solve the issue also.
As I far as I can see, there are two things which might improve the issue;
* Change the divsize to match the tilsize - it seems like the problem is
an rounding error somewhere.
* Implement it by using translate; transform (or even transform3d). I
suspect that this approach needs to be implemented with an fallback as not
all browsers support this.
--
Ticket URL: <http://trac.openlayers.org/ticket/3061#comment:34>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list