tilemill-project / tilemill

TileMill is a modern map design studio
https://tilemill-project.github.io/tilemill/
BSD 3-Clause "New" or "Revised" License
3.12k stars 527 forks source link

text-placement: interior doesn't work #2363

Closed Vanuan closed 10 years ago

Vanuan commented 10 years ago

I'm using this cartoCSS:

#labels {
    text-name: "[name]";
    text-fill: #444;
    text-face-name: 'Alfios Bold';
    text-placement: interior;
    text-size: 12pt;
}

#polygon[building='yes'] {
    polygon-fill: #0f0;
}

#polygon[landuse='residential'] {
    polygon-fill: #0f0;
}

The thing is that for landuse=residential text label is not centered while for building=yes it is.

Vanuan commented 10 years ago

The problem is that I'm using OsmPlugin, that doesn't support polygons very well :(