Re: [OpenLayers-Users] OpenLayers.Control.SelectFeature with highlight, toggle

2010-08-27 Thread Christian Niemitz-Rossant
Hi Eric, after filing the ticket http://trac.openlayers.org/ticket/2812 I got a message from Ilias, because he had to deal with the same problem. His solution to add to the selectCtrl an onUnselect and in this function to call highlightCtrl.unhighlight(feature); works fine for me. The two

Re: [OpenLayers-Users] OpenLayers.Control.SelectFeature with highlight, toggle

2010-08-27 Thread Eric Lemoine
On Fri, Aug 27, 2010 at 3:37 PM, Christian Niemitz-Rossant c...@m-click.de wrote: Hi Eric, after filing the ticket http://trac.openlayers.org/ticket/2812 I got a message from Ilias, because he had to deal with the same problem. His solution to add to the selectCtrl an onUnselect and in this

[OpenLayers-Users] OpenLayers.Control.SelectFeature with highlight, toggle

2010-08-26 Thread Christian Niemitz-Rossant
I have some troubles using feature selection with highlight and toggle: In the OpenLayers example highlight-feature.html I replaced the line 55 which is {clickout: true} by {toggle: true} Then I applied these steps 1. move cursor on the left triangle = triangle is highlighted 2. click on the

Re: [OpenLayers-Users] OpenLayers.Control.SelectFeature with highlight, toggle

2010-08-26 Thread Eric Lemoine
On Thu, Aug 26, 2010 at 9:13 AM, Christian Niemitz-Rossant c...@m-click.de wrote: I have some troubles using feature selection with highlight and toggle: In the OpenLayers example highlight-feature.html I replaced the line 55 which is {clickout: true} by {toggle: true} Then I applied