OsmSharp / ui

The UI components.
http://osmsharp.com/
GNU General Public License v2.0
138 stars 91 forks source link

Unable to display the name of an area #218

Open ikkentim opened 9 years ago

ikkentim commented 9 years ago

I would like to be able to display the name of an area, but it just doesn't display it..

area[name] {
    text-color: black;
    text-halo-radius: 2;
    text-halo-color: white;
    font-size: 14;
    /*text: name;*/ /*not working with or without*/
}

What it should look like:

xivk commented 9 years ago

This is a problem with the MapCSS support. It's not complete yet, sorry about that.

A quickfix would be to add a point with a label at the location you want but I can image this is not a nice workaround.