Hello again,<br><br>I can't get this to work in any way, no errors at runtime but no labels either. The label properties is listed in the vector style specification, among other that work perfectly:<br><br><a href="http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Feature/Vector-js.html">http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Feature/Vector-js.html</a><br>
<br>It can also be found a great deal of discussion on this list and elsewhere about the development of this functionality, mostly from 2008. Has vector labeling been fully implemented in OpenLayers-2.8? If not, what other ways are there to get this to work?<br>
<br>Thank you,<br><br>Luís<br><br><div class="gmail_quote">2010/3/5 Luís de Sousa <span dir="ltr"><<a href="mailto:luis.a.de.sousa@gmail.com">luis.a.de.sousa@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello everyone,<br><br>I'm trying to set labels on a point layer using code like this:<br><br>wfs2.style = OpenLayers.Util.applyDefaults(<br> {<br> strokeColor: "#008000",<br> fillColor: "#FFFF00",<br>
strokeWidth: "2.0",<br> label: "${someAtribute}",<br> fontColor: "#FF0000"<br> }<br><br>I don't get any errors at runtime, but no label appears. What am I missing?<br>
<br>Thanks,<br><font color="#888888"><br>Luís<br><br>
</font></blockquote></div><br>