Jan Henrik Øverland wrote:
> Hi, displaying feature labels works fine like this:
>
> 'label': '${Name}'
>
> However, the name column in my stupid facility shapefile is called "Name
> of fa" and then the labels are displayed as ${Name of fa} in the map.
> I know I can just change the shapefile, but is it possible to display
> labels where the name column has spaces?
Just off the top of my head, did you try: 'label: '${"Name of fa"}'
-Steve
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users