Open GoogleCodeExporter opened 9 years ago
I believe what you are describing is by design. Since we allow scrolling to
"wrap" when scrolling east<->west we repeat drawing the tiles in each
direction. It isn't ideal at very low zoom levels because you can see the same
tiles repeated as you describe, but at higher zoom levels it allows for
seamless scrolling "around" the world.
Original comment by kurtzm...@gmail.com
on 31 Jan 2014 at 3:47
So, is there a way to fix or temporarily hide this tile repetition?
Original comment by Suraj.kv.blog@gmail.com
on 1 Feb 2014 at 2:24
It would require changes to the code base. I would start with TilesOverlay
which is what draws the tiles to the canvas.
Original comment by kurtzm...@gmail.com
on 4 Feb 2014 at 3:48
I guess the loop-method in the TileLooper has to be changed.
But that would only avoid drawing the tiles. The scrolling would still be
infinite. Furthermore I believe the calculations of pixel-coordinates to
geo-coordinates would be invalid?
Original comment by t...@innovaptor.com
on 7 Feb 2014 at 2:06
I tried to modify the loop-method of the TileLooper but with no real success so
far.
I have no idea how to determine which tiles can be drawn at which position, so
that only one map appears.
The pViewPort rect which is gives isn't absolut either, since it sometimes
resets because of computeScroll and scrollTo in the MapView. That can be
handled but I am not sure if that is the right path or if there are any
side-effects.
Furthermore other Overlays need to be changed as well, so that markers don't
appear on a different map.
Original comment by t...@innovaptor.com
on 9 Feb 2014 at 9:03
anyone got workaround for this scenario?
Original comment by nayanesh...@gmail.com
on 2 Jun 2015 at 10:53
Original issue reported on code.google.com by
Suraj.kv.blog@gmail.com
on 31 Jan 2014 at 5:48