<font>I justtried this map config., and still not working.</font><div><font><br></font></div><div><font><div><span class="Apple-tab-span" style="white-space:pre"> </span>var map = new OpenLayers.Map({</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>allOverlays: false,</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>theme: null,</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>scales :[8735665,4367832,2183916,1091958,545979,272989,136494,68247,34123,17062,8531,4265],</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>projection: "EPSG:900913",</div><div>//<span class="Apple-tab-span" style="white-space:pre"> </span>displayProjection: "EPSG:4326",</div>
<div>//<span class="Apple-tab-span" style="white-space:pre"> </span>projection: new OpenLayers.Projection('EPSG:900913'),</div><div>//<span class="Apple-tab-span" style="white-space:pre"> </span>displayProjection: new OpenLayers.Projection('EPSG:4326'),</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>restrictedExtent: new OpenLayers.Bounds(-9500000.0,-8200000.0,-4500000.0,-1600000.0),</div><div>//<span class="Apple-tab-span" style="white-space:pre"> </span>maxExtent: new OpenLayers.Bounds(-2.0E7,-2.0E7,2.0140799999999993E7,2.0140799999999993E7),</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>units: "m",</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>controls: [</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> new OpenLayers.Control.Attribution(),</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span> new OpenLayers.Control.KeyboardDefaults(),</div><div>//<span class="Apple-tab-span" style="white-space:pre"> </span> new OpenLayers.Control.LayerSwitcher({'ascending':true}),</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span> new OpenLayers.Control.Navigation({</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> <span class="Apple-tab-span" style="white-space:pre"> </span>dragPanOptions:{enableKinetic: true,documentDrag: true},</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span> <span class="Apple-tab-span" style="white-space:pre"> </span>zoomWheelEnabled:true}</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> ),<span class="Apple-tab-span" style="white-space:pre"> </span> </div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span> new OpenLayers.Control.PanZoomBar({zoomWorldIcon:true})</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>]</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>});<span class="Apple-tab-span" style="white-space:pre"> </span></div>
<div><br></div></font><br><div class="gmail_quote">2012/6/6 Andreas Hocevar <span dir="ltr"><<a href="mailto:ahocevar@opengeo.org" target="_blank">ahocevar@opengeo.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We also need your map configuration.<br>
<br>
Thanks,<br>
Andreas.<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, Jun 6, 2012 at 4:41 PM, Ricardo Bayley <<a href="mailto:ricardo.bayley@gmail.com">ricardo.bayley@gmail.com</a>> wrote:<br>
> this is my GWC layer<br>
><br>
> var lyr = new OpenLayers.Layer.WMS(<br>
> "street", ["<a href="http://myAddress:8080/geowebcache/service/wms" target="_blank">http://myAddress:8080/geowebcache/service/wms</a>"],<br>
> {<br>
> layers: "Argentina",<br>
> format: 'image/png'<br>
> },<br>
> {<br>
> isBaseLayer: true,<br>
> visibility: false,<br>
> tileSize: new OpenLayers.Size(256,256),<br>
> singleTile:false,<br>
> tileLoadingDelay:0,<br>
> buffer: 2,<br>
> transitionEffect:'resize',<br>
> minZoomLevel: 0,<br>
> maxZoomLevel: 8<br>
> }<br>
> );<br>
> * i change visibility later.<br>
><br>
> var ghyb = new OpenLayers.Layer.Google(<br>
> "Híbrido",<br>
> {<br>
> type: G_HYBRID_MAP,<br>
> sphericalMercator: true, minZoomLevel: 4, maxZoomLevel: 18<br>
> }<br>
> );<br>
><br>
> If I dont load google layers, problem does not go away.<br>
><br>
><br>
><br>
> 2012/6/6 Andreas Hocevar <<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>><br>
>><br>
>> Code would be great. Especially showing your map and layer options.<br>
>><br>
>> Thanks,<br>
>> Andreas.<br>
>><br>
>> On Wed, Jun 6, 2012 at 4:14 PM, Ricardo Bayley <<a href="mailto:ricardo.bayley@gmail.com">ricardo.bayley@gmail.com</a>><br>
>> wrote:<br>
>> > Do you mean screenshot or live example or just code ?<br>
>> ><br>
>> > All I am doing is pointing to a different Openlayer js. So, yes with ol<br>
>> > 2.11<br>
>> > worked fine.<br>
>> ><br>
>> ><br>
>> ><br>
>> > 2012/6/6 Andreas Hocevar <<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>><br>
>> >><br>
>> >> Hi,<br>
>> >><br>
>> >> Can you share a minimal example that shows the issue? Also, did this<br>
>> >> work with OpenLayers 2.11?<br>
>> >><br>
>> >> Andreas.<br>
>> >><br>
>> >> On Wed, Jun 6, 2012 at 3:17 PM, Ricardo Bayley<br>
>> >> <<a href="mailto:ricardo.bayley@gmail.com">ricardo.bayley@gmail.com</a>><br>
>> >> wrote:<br>
>> >> > Hi folks,<br>
>> >> ><br>
>> >> > I am testing ol 2.12 rc6 on my web app.<br>
>> >> > I have a GWC wms layer, google hybrid + google sat.<br>
>> >> ><br>
>> >> > At start, GWC layer is not loading in the correct zoom layer. When<br>
>> >> > zooming I<br>
>> >> > get the blank image.<br>
>> >> > When checking with GWC I get this message.<br>
>> >> ><br>
>> >> > 400: X,Y values for the tile index were calculated to be<br>
>> >> > {81.13292818954577,<br>
>> >> > 104.17067323102172} which had to be rounded to {81, 104} and exceeds<br>
>> >> > the<br>
>> >> > threshold of 10%. Perhaps the client is using the wrong origin ?<br>
>> >> ><br>
>> >> > My map is in south america, so both x and y should be negative,<br>
>> >> > shouldnt<br>
>> >> > they ?<br>
>> >> ><br>
>> >> > I think this maybe cause by the Projection & SphericalMercator<br>
>> >> > changes.<br>
>> >> ><br>
>> >> > Is this so ?<br>
>> >> ><br>
>> >> ><br>
>> >> > Thanks<br>
>> >> ><br>
>> >> > Ricardo<br>
>> >> ><br>
>> >> > _______________________________________________<br>
>> >> > Users mailing list<br>
>> >> > <a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
>> >> > <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
>> >> ><br>
>> >><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> Andreas Hocevar<br>
>> >> OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
>> >> Expert service straight from the developers.<br>
>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Andreas Hocevar<br>
>> OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
>> Expert service straight from the developers.<br>
><br>
><br>
<br>
<br>
<br>
--<br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
</div></div></blockquote></div><br></div>