Hi,
<br /><br />
I'm having difficulty setting the "select" style for the ModifyFeature Control. The documentation for ModifyFeature has a property for virtualStyle (which sets the style for the vertices and works for me), but not selectStyle. Do I need to create a SelectFeature Control along with my ModifyFeature Control?
<br /><br />
I've tried various solutions, most based on guesswork, including setting a style when I create the control (green_style is defined elsewhere):
<pre>
edit = new OpenLayers.Control.ModifyFeature(boundingBoxLayer, {selectStyle: green_style, mode: OpenLayers.Control.ModifyFeature.RESHAPE});
</pre>
Also tried adding a Select Control along with the Modify Control... so far, nothing has worked.
<br /><br />
Any help or advice is appreciated.
<br /><br />
Thanks, Mark
<br><hr align="left" width="300">
View this message in context: <a href="http://www.nabble.com/Can%27t-set-style-for-ModifyFeature-control...-tp19520456p19520456.html">Can't set style for ModifyFeature control...</a><br>
Sent from the <a href="http://www.nabble.com/OpenLayers-Users-f15907.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br>