[OpenLayers-Users] Override maxExtent for one layer
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Thu Feb 5 12:45:24 EST 2009
I was unlear there. "I imagine you" should have been "I think you should".
Nice if you got it working though.
Regards. Kenneth Skovhede, GEOGRAF A/S
Luca Casagrande skrev:
> Hi Keenth!
> Nope, the map's maxExtent is set to Italy, because if I set it to Europe a
> lot of transparent
> tiles are generated. I solved the problem setting maxExtent properties for
> the layer with a bigger extent.
> The problem now is with tilecache as I reported in the ml (sorry for cross
> Kenneth Skovhede, GEOGRAF A/S wrote:
>> Have you experimented with the displayOutsideMaxExtent property:
>> I imagine you set the map's maxExtent to Europe's, and then each layer
>> gets the maxExtent that suits it, with displayOutsideMaxExtent set to
>> Regards, Kenneth Skovhede, GEOGRAF A/S
>> Luca Casagrande skrev:
>>> Hello everybody.
>>> In my project all the data cover a small part of Italy so the maxExtent
>>> set to this area; now, if I use a WMS layer with a bigger extent then
>>> one (Europe), it get cutted.
>>> I tried to set the maxExtent of the project to Europe, but then all
>>> load a lot of transparent tiles that I'd like to avoid.
>>> Is there a way to override the maxExtent just for one layer?
>>> Thank you very much for your help.
>> Users mailing list
>> Users at openlayers.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users