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 <[email protected]> > > > On Sunday, October 30, 2011, Eric Lemoine <[email protected]> > wrote: > > > > > > On Sunday, October 30, 2011, Ricardo Bayley <[email protected]> > 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 : [email protected] > http://www.camptocamp.com > >
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
