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

Stefan Baebler stefan.baebler at gmail.com
Fri Apr 11 10:27:09 BST 2008


Should be fairly easy to fix that with openlayers:
http://openlayers.org/dev/examples/wrapDateLine.html

Stefan

2008/4/3 Dirk-Lüder Kreie <osm-list at deelkar.net>:
> -----BEGIN PGP SIGNED MESSAGE-----
>  Hash: SHA1
>
>  Luka Frelih schrieb:
>
> > hello!
>  >
>  > i just noticed that our slippymap resists crossing the 180 degree
>  > meridian (intl date line).
>  > try zooming in on new zealand at this link:
>  > http://www.openstreetmap.org/?lat=-41.47&lon=-179.23&zoom=6
>  >
>  > i guess this is unintended. not sure whether we inherited this bug from
>  > openlayers or introduced it ourselves. either way i guess someone here
>  > will know what's going on.
>  >
>
>  Placename truncated at 180° meridian
>  http://www.openstreetmap.org/?lat=-8.7&lon=179.999&zoom=5&layers=B0FT
>
>  also giving lon=180 to slippymap incorrectly jumps to 0° longitude.
>
>  - --
>
>  Dirk-Lüder "Deelkar" Kreie
>  Bremen - 53.0952°N 8.8652°E
>
>  -----BEGIN PGP SIGNATURE-----
>  Version: GnuPG v2.0.7 (GNU/Linux)
>  Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
>  iD8DBQFH9BHOFUbODdpRVDwRAgGgAJoCv3w/4YhBPLt2fMsAWBR7lFYwfgCfekZD
>  2Hw8f8uO7OBUUSTn0zYdTxs=
>  =J7GB
>  -----END PGP SIGNATURE-----
>
>
> _______________________________________________
>  dev mailing list
>  dev at openstreetmap.org
>  http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>
>


More information about the dev mailing list