I'm trying to follow this example:
http://openlayers.org/dev/examples/SLDSelect.html

When I click on the point, its color should be changed, here is a piece of
my code: 

control =  new OpenLayers.Control.SLDSelect( 
                    OpenLayers.Handler.Click, 
                    { 
                        //displayClass: 'olControlClick', 
                        layers: [city] 
                    } 
                ) 

                map.addControl(control); 
                 control.activate(); 


Still can't figure out what's the point of displayClass. and how to assign
the new color. 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/SLD-based-selection-on-WMS-layers-How-to-set-the-new-style-of-clicked-point-tp5051424.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to