Hello again,

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:

http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Feature/Vector-js.html

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?

Thank you,

Luís

2010/3/5 Luís de Sousa <[email protected]>

> Hello everyone,
>
> I'm trying to set labels on a point layer using code like this:
>
> wfs2.style = OpenLayers.Util.applyDefaults(
>             {
>                 strokeColor: "#008000",
>                 fillColor: "#FFFF00",
>                 strokeWidth: "2.0",
>                 label: "${someAtribute}",
>                 fontColor: "#FF0000"
>              }
>
> I don't get any errors at runtime, but no label appears. What am I missing?
>
> Thanks,
>
> Luís
>
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to