Google Maps v3 image tile overlay incorrectly positioned
I have created a complete world image overlay with gdal2tiles.py, and had
to look at many different sources only to make it work for Google Maps v3
API (main code from here). Unfortunately, there are several issues (see
example here). The main issue I have is the following.
On loading, the map shows zoom level 1 and the tiles for the earth in the
center are placed incorrect ('shifted'). However, the tiles on the earth
on the left and right are correct. Panning to the sides shows the tiles
correctly, however zooming out and zooming in again (or opposite) will
cause the overlay to be incorrectly placed again. I can't pinpoint the
reason why it does this. Additionally, Google wants to load tiles with
coordinates that are impossible (x=0, x=-1, y=0, y=-1) in seemingly random
occasions (as seen through the file not available errors).
I found this to be occurring in both Google Chrome and Firefox. Is my code
incorrect, or is this actually a bug?
No comments:
Post a Comment