You can't use " " as '${Name}' works perfectly, but '${"Name"}' does not.<br><br>So obviously '${"Name of fa"}' did not work. By the way, '${Name }' (with a space) did not either.<br>
<br>Jan<br><br><div class="gmail_quote">On Wed, Feb 17, 2010 at 5:53 PM, Stephen Woodbridge <span dir="ltr"><<a href="mailto:woodbri@swoodbridge.com">woodbri@swoodbridge.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">Jan Henrik Řverland wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi, displaying feature labels works fine like this:<br>
<br>
'label': '${Name}'<br>
<br>
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.<br>
I know I can just change the shapefile, but is it possible to display labels where the name column has spaces?<br>
</blockquote>
<br></div></div>
Just off the top of my head, did you try: 'label: '${"Name of fa"}'<br>
<br>
-Steve<br>
</blockquote></div><br>