[OpenLayers-Dev] How to display images that span the 180th meridian?

Pierre GIRAUD bluecarto at gmail.com
Sat Dec 1 06:44:10 EST 2007


Does this example help you ?
http://openlayers.org/dev/examples/wrapDateLine.html

Regards,
Pierre

On Nov 30, 2007 9:51 PM, pdecker <paulad at rmi.net> wrote:
>
> Hello,
>
> I want OpenLayers to provide tiles for a bounding box which spans the 180th
> meridian, for examle:  upper left latitude=1.0,  upper left longitude=170.0,
> lower right latitude=-1.0, lower right longitude=-170.0.
>
> Given this bbox, OpenLayers will then request the following tiles:
> minLon=0.0 maxLon=180.0 minLat= -90.0 maxLat=90.0
> minLon=-180.0 maxLon=0.0 minLat= -90.0 maxLat=90.0
> minLon=-180.0 maxLon=180.0 minLat= -90.0 maxLat=270.0
> minLon=-180.0 maxLon=332.0 minLat= -90.0 maxLat=422.0
>
> The maxLat=270, maxLon=332, maxLat=422 are out of range for valid
> latitude/longitude values.
>
> Is there a way to read images with bounding boxes that span the 180th
> meridian?
>
> Thanks in advance.
>
> PDecker
>
>
>
>
>
> --
> View this message in context: http://www.nabble.com/How-to-display-images-that-span-the-180th-meridian--tf4911686.html#a14061840
> Sent from the OpenLayers Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>



More information about the Dev mailing list