[OSM-dev] slippymap doesnt wrap around +-180deg

Tom Hughes tom at compton.nu
Fri Apr 11 18:57:44 BST 2008


2008/4/11 Stefan Baebler <stefan.baebler at gmail.com>:

> On Fri, Apr 11, 2008 at 11:46 AM, Tom Hughes <tom at compton.nu> wrote:
>  >  > Should be fairly easy to fix that with openlayers:
>  >  > http://openlayers.org/dev/examples/wrapDateLine.html
>  >
>  >  I don't think so. The tiles look like they are wrapping round just
>  >  fine at the moment - the problem is that the name crosses the tile
>
>  Actualy no, it doesn't wrap around 180 at the moment.
>  See the bug on URL initially provided by Luka
>
> http://www.openstreetmap.org/?lat=-41.47&lon=-179.23&zoom=6
>  and try moving the map to the right (seeing more to the left).

I've turned on wrapDateLine so this should be fixed now.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list