[OpenLayers-Users] Panning horizontally

Tobias Reinicke ramotswa at gmail.com
Mon Apr 2 11:39:35 EDT 2012


Hi Emilio,

Are you looking for functioanlity similar to what this example does?

http://openlayers.org/dev/examples/wrapDateLine.html

Toby

2012/4/2 Emili Garcí­a Ladona <emilio at icm.csic.es>:
> Just a simple and basic question,
>
> when I was using Google API to draw trajectories looping twice or more
> around the earth globe
> it is possible to pan horizontally indefinitely the map to see a continuous
> line. I mean that when you are
> crossing the rightmost side of the map you enter the leftmost and the google
> layer is continuously drawn
> (many earth covering rectangles joined by a meridian !) But when I try with
> the basic map of Openlayers the layer does not repeat indefinitely
> horizontally. Does anyone to know why and/or how to solve it ?. Is is a
> specific feature of google maps imagery ?.
>
> Thank you in advance
>
> EMILIO
>
>
> ****
>
> --
> |Emilio GARCIA-LADONA ---------> http://www.icm.csic.es/oce/|
> |    __o      ______________________________________________|
> |  _`\<,_    / Dept. d'Oceanografia Física                  |
> | (*)/ (*)  / Institut de Ciències del Mar (CMIMA-CSIC)     |
> |/\/\/\/\/\/ Passeig Marítim, 37-49, 08003 Barcelona (Spain)|
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users


More information about the Users mailing list