[OpenLayers-Users] Transition Effect

Ricardo Bayley ricardo.bayley at gmail.com
Mon Oct 31 08:51:10 EDT 2011


Thank you very much !
You are right it was a bit confusing.
All OL options now work perfectly.


Thanks


ricardo

2011/10/30 Eric Lemoine <eric.lemoine at camptocamp.com>

>
>
> On Sunday, October 30, 2011, Eric Lemoine <eric.lemoine at camptocamp.com>
> wrote:
> >
> >
> > On Sunday, October 30, 2011, Ricardo Bayley <ricardo.bayley at gmail.com>
> wrote:
> >> Ho everyone,
> >> Does anybody know why the transitionEffect is not working ?
> >> this is my config
> >> gwcLayer : new OpenLayers.Layer.WMS(
> >> "myGWC",
> >> ["http://localhost:8080/geowebcache/service/wms" ],
> >>
> >> {
> >>
> >> sphericalMercator: true,
> >> tileSize: new OpenLayers.Size(256,256),
> >> layers: "Argentina",
> >> format: 'image/png',
> >> tileLoadingDelay:0,
> >> transitionEffect: 'resize',
> >> minZoomLevel: 0,
> >> maxZoomLevel: 8
> >> }
> >
> > The signature of OpenLayers.Layer.WMS is:
> >
> > OpenLayers.Layer.WMS(name, url, params, options)
> >
> > "params" include parameters sent in WMS GetMap requests. "layers" and
> "format" should indeed be params.
> >
> > "options" include options for the OpenLayers.Layer.WMS instance.
> >
> > In your case tileLoadingDelay, transitionEffect, minZoomLevel, and
> maxZoomLevel should be *options* as opposed to params.
>
> tileSize shoud be an option as well. And the sphericalMercator option
> isn't applicable to OpenLayers.Layer.WMS.
>
>
> --
> Eric Lemoine
>
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac, Cedex
>
> Tel : 00 33 4 79 44 44 96
> Mail : eric.lemoine at camptocamp.com
> http://www.camptocamp.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111031/2ae2c41f/attachment.html


More information about the Users mailing list