<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
Instead of defining a selectStyle in the control, you could try
setting a styleMap to your layer object. This example should
point you to the right direction since it uses a '${type}'
symbolizer value and a select control :<br>
<br>
<a class="moz-txt-link-freetext" href="http://openlayers.org/dev/examples/graphic-name.html">http://openlayers.org/dev/examples/graphic-name.html</a><br>
<br>
HTH,<br>
<br>
Alexandre<br>
<br>
P.S. Btw, this question would have been more suitable for the
users mailing list.<br>
<br>
<br>
On 12-07-30 05:52 AM, BERÉNYI Attila wrote:<br>
</div>
<blockquote
cite="mid:CAEuci3dxP4U-iGLwYuyZ85-t4z9pWHzYOgB6X0AdURUqgV8rUQ@mail.gmail.com"
type="cite">Hi!
<div><br>
</div>
<div>I wanted to use the selectFeature control's selectStyle
property to display a property-based label for the selected
features, however, it seems that the selectStyle property
doesn't support property-based styling.</div>
<div>Example here: <a moz-do-not-send="true"
href="http://gislab.hu/ol/selectFeature-selectStyle-propertyStyle.html">http://gislab.hu/ol/selectFeature-selectStyle-propertyStyle.html</a></div>
<div><br>
</div>
<div>Is this a bug or am I doing something wrong?</div>
<div><br>
</div>
<div>BR,</div>
<div>Attila</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Alexandre Dubé
Mapgears
<a class="moz-txt-link-abbreviated" href="http://www.mapgears.com">www.mapgears.com</a>
</pre>
</body>
</html>