On Tuesday, February 15, 2011, John Mitchell <[email protected]> wrote: > Hi, > > I have the following problem with openlayers version 2.8: > > This problem seems to be due to a hard limit of 45 layers. > As you go past this limit, the first layers in the list start to > not work. They will still be in the list but trying to turn them > on does nothing. Eg, if you add a 46th and 47th layer, the 1st > and 2nd layers will no longer work. > > Does anyone have any ideas why I seem to have this hard limit of 45 layers? > Will upgrading to the latest stable version of 2.10 openlayers allow more > layers than 45 to be on the layer list without first layers disappearing?
Hi. There's a hard limit, but it's supposed to be above 45. OpenLayers won't work well with more than 10-15 layers, so it is really recommended to group layers server side - for example using the WMS GetMap "layers" param. I don't think upgrading 2.10 will make a difference. -- 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
