<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I was unlear there. "I imagine you" should have been "I think you
should".<br>
Nice if you got it working though.<br>
<pre class="moz-signature" cols="72">Regards. Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Luca Casagrande skrev:
<blockquote cite="mid:1233845765216-2275254.post@n2.nabble.com"
type="cite">
<pre wrap="">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
posting)
<a class="moz-txt-link-freetext" href="http://n2.nabble.com/TileCache-and-maxExtent-td2268163.html">http://n2.nabble.com/TileCache-and-maxExtent-td2268163.html</a>
Thanks
Luca
Kenneth Skovhede, GEOGRAF A/S wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Have you experimented with the displayOutsideMaxExtent property:
<a class="moz-txt-link-freetext" href="http://dev.openlayers.org/releases/OpenLayers-2.7/doc/apidocs/files/OpenLayers/Layer-js.html#OpenLayers.Layer.displayOutsideMaxExtent">http://dev.openlayers.org/releases/OpenLayers-2.7/doc/apidocs/files/OpenLayers/Layer-js.html#OpenLayers.Layer.displayOutsideMaxExtent</a>
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
false.
Regards, Kenneth Skovhede, GEOGRAF A/S
Luca Casagrande skrev:
</pre>
<blockquote type="cite">
<pre wrap="">Hello everybody.
In my project all the data cover a small part of Italy so the maxExtent
is
set to this area; now, if I use a WMS layer with a bigger extent then
this
one (Europe), it get cutted.
I tried to set the maxExtent of the project to Europe, but then all
layers
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.
Luca
</pre>
</blockquote>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openlayers.org">Users@openlayers.org</a>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>