Hello Piero, This is my understanding of how wrapDateLine works:
The wrapDateLine property is used by tile layers when determining which tiles to display. If your layer contains "wrapDateLine: true", the layer adjusts it's tile coordinates if the IDL is in the map viewport. If your layer contains "wrapDateLine: false", the layer will not adjust tile coordinates. I think that this does not apply to vector layers, only tiled layers. I have not had success with setting maxExtent to include multiple globes, either. I have only had success setting the map maxExtent to a smaller extent that the globe, and using restrictedExtent to constrain the map navigation within that extent. -z On Wed, Jul 28, 2010 at 4:01 AM, Piero Campa <[email protected]> wrote: > > Thank you David, > ok so: isn't it the behaviour of a layer with wrapDateLine = false, i.e. > the > default behaviour? > > Moreover, I was trying to see the effect of maxExtent property of the map > (I > think I have to set it wider to just 1 globe, so to go beyond the IDL), but > nothing changes, even for very small maxExtents. > ...So what does the maxExtent stand for? > > Piero > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/International-date-line-and-bounds-tp2541265p5345342.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
