Re: [Geoserver-users] SLD based selection on WMS layers - How to set the new style of clicked point?

2013-05-05 Thread Phil Scadden
Agreed that is for OL list, but displayClass is a CSS reference. In your CSS, you create a class (eg olControlClick) with the style you want. You pass the name of this class in displayClass. Notice: This email and any attachments are confidential. If received in error please destroy and immediat

Re: [Geoserver-users] SLD based selection on WMS layers - How to set the new style of clicked point?

2013-05-05 Thread Andrea Aime
On Sun, May 5, 2013 at 1:53 PM, Shadin wrote: > 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( > O

[Geoserver-users] SLD based selection on WMS layers - How to set the new style of clicked point?

2013-05-05 Thread Shadin
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, {