[OpenLayers-Users] International date line and bounds
Ryan Hofschneider
ryan.hofschneider at gmail.com
Thu Mar 26 17:58:10 EDT 2009
On Mar 26, 2009, at 2:47 PM, Craig Stanton wrote:
> I'm trying to display points centered around New Zealand, some of
> which are on the other side of the -180/180 line. Therefore I'd like
> to set the bounds of my OpenLayers map to go from 0 to 360 instead
> of -180 to 180, or better yet, have no bounds at all and let people
> move the map as they see fit.
See:
http://openlayers.org/dev/examples/wrapDateLine.html
Also, in order to quickly support full wrap around in a seamless
manner with non-WMS data, I took the brute force approach of drawing
my data multiple times at +/-360 offsets.
Cheers,
Ryan
More information about the Users
mailing list