[OpenLayers-Users] Testing ol 2.12 rc6

Ricardo Bayley ricardo.bayley at gmail.com
Wed Jun 6 07:41:42 PDT 2012


this is my GWC layer

var lyr =  new OpenLayers.Layer.WMS(
"street", ["http://myAddress:8080/geowebcache/service/wms"],
 {
layers: "Argentina",
format: 'image/png'
},
{
isBaseLayer: true,
visibility: false,
tileSize: new OpenLayers.Size(256,256),
singleTile:false,
tileLoadingDelay:0,
buffer: 2,
transitionEffect:'resize',
minZoomLevel: 0,
maxZoomLevel: 8
}
);
* i change visibility later.

var ghyb = new OpenLayers.Layer.Google(
            "Híbrido",
            {
             type: G_HYBRID_MAP,
             sphericalMercator: true, minZoomLevel: 4, maxZoomLevel: 18
            }
);

If I dont load google layers, problem does not go away.



2012/6/6 Andreas Hocevar <ahocevar at opengeo.org>

> Code would be great. Especially showing your map and layer options.
>
> Thanks,
> Andreas.
>
> On Wed, Jun 6, 2012 at 4:14 PM, Ricardo Bayley <ricardo.bayley at gmail.com>
> wrote:
> > Do you mean screenshot or live example or just code ?
> >
> > All I am doing is pointing to a different Openlayer js. So, yes with ol
> 2.11
> > worked fine.
> >
> >
> >
> > 2012/6/6 Andreas Hocevar <ahocevar at opengeo.org>
> >>
> >> Hi,
> >>
> >> Can you share a minimal example that shows the issue? Also, did this
> >> work with OpenLayers 2.11?
> >>
> >> Andreas.
> >>
> >> On Wed, Jun 6, 2012 at 3:17 PM, Ricardo Bayley <
> ricardo.bayley at gmail.com>
> >> wrote:
> >> > Hi folks,
> >> >
> >> > I am testing ol 2.12 rc6 on my web app.
> >> > I have a GWC wms layer, google hybrid + google sat.
> >> >
> >> > At start, GWC layer is not loading in the correct zoom layer. When
> >> > zooming I
> >> > get the blank image.
> >> > When checking with GWC I get this message.
> >> >
> >> > 400: X,Y values for the tile index were calculated to be
> >> > {81.13292818954577,
> >> > 104.17067323102172} which had to be rounded to {81, 104} and exceeds
> the
> >> > threshold of 10%. Perhaps the client is using the wrong origin ?
> >> >
> >> > My map is in south america, so both x and y should be negative,
> shouldnt
> >> > they ?
> >> >
> >> > I think this maybe cause by the Projection & SphericalMercator
> changes.
> >> >
> >> > Is this so ?
> >> >
> >> >
> >> > Thanks
> >> >
> >> > Ricardo
> >> >
> >> > _______________________________________________
> >> > Users mailing list
> >> > Users at lists.osgeo.org
> >> > http://lists.osgeo.org/mailman/listinfo/openlayers-users
> >> >
> >>
> >>
> >>
> >> --
> >> Andreas Hocevar
> >> OpenGeo - http://opengeo.org/
> >> Expert service straight from the developers.
> >
> >
>
>
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120606/2218609a/attachment.html>


More information about the Users mailing list