Opened 13 years ago

Closed 13 years ago

#359 closed defect (fixed)

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

Reported by: Nick Owned by: steve@…
Priority: major Milestone:
Component: applet Version:
Keywords: Cc:

Description

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.

Change History (2)

comment:1 Changed 13 years ago by writetodan@…

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()).

comment:2 Changed 13 years ago by writetodan@…

Resolution: fixed
Status: newclosed

fix deployed to www

Note: See TracTickets for help on using tickets.