Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Applet tiling of yahoo images slightly wrong for the southern hemisphere, so there's a gap at the bottom #359

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: openstreetmap[at]gagravarr.org
[Submitted to the original trac issue database at 8.00am, Wednesday, 13th December 2006]

If you look at an applet view like:
http://www.openstreetmap.org/edit.html?lat=-37.82000000000001&lon=144.95&zoom=14

You'll notice that there's a gap at the bottom with no tiles, and that it seems to have loaded one more tile off the top of the screen than is shown

I guess the code for deciding what tiles to show needs to be tweaked to round the other way in the southern hemisphere.

@openstreetmap-trac
Copy link
Author

Author: writetodan[at]yahoo.com
[Added to the original trac issue at 2.54pm, Tuesday, 20th February 2007]

yes, it's like you say.

theres some code in Tile.java using int truncation instead of Math.floor() which breaks when it gets to -ve tile ids in south. (lat_to_yahoo(), long_to_yahoo()).

@openstreetmap-trac
Copy link
Author

Author: writetodan[at]yahoo.com
[Added to the original trac issue at 9.06pm, Wednesday, 14th March 2007]

fix deployed to www

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant