Hi, I am affraid there is no such function. Some programming will be needed.
Michal horrorshow wrote: > > Hi list, > > Im running Openlayers 2.8, an umn mapserver with a WMS-Mapfile including 1 > Layer with many different classes. Like: > CLASS > EXPRESSION "fast_food" > STYLE > SYMBOL 'fastfood' > SIZE 6 > MINSIZE 6 > MAXSIZE 25 > END > END > CLASS > EXPRESSION "pub" > STYLE > SYMBOL 'pub' > SIZE 6 > MINSIZE 6 > MAXSIZE 25 > END > END > ... so on > > Now, Im looking for an Openlayers function such as Layer.Switcher.Classes > or something like that, to turn my WMS-Layer-Classes on/off. Because at > the moment im only allowed to switch the hole WMS-Layer. So all 30 > Layer-Classes are displayed at the same time with the result that the map > is totally overloaded. If anyone knows how to handle, pls help me :). > Thanks!! > Best regards, Simon > > -- > GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > -- View this message in context: http://n2.nabble.com/Openlayers-Layer-Switcher-Problem-with-Classes-tp3750817p3755282.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
