-
Notifications
You must be signed in to change notification settings - Fork 129
Support list placement for text #238
Comments
Cool, need to read up Mapnik's source for this - kind of looks like the |
You can't currently flick between placement types (e.g. line -> point), see mapnik/mapnik#1152 |
Would love to see this supported in CartoCSS (and by extension in Tilemill). At the moment, need to edit XML after export from Tilemill to make use of this feature. |
@petzlux there's a hack you can use, by writing XML inline within carto, e.g.
See also:
|
References #45 Enables a CartoCSS workaround - see mapbox/carto#238 (comment)
btw, landed in mapnik-reference now and carto 0.9.6 now includes this which will go out with next tilemill (> 0.10.1). |
Okay I am a bit confused as I cant find any doc in carto for this feature, is it included in the latest nightlies of tilemill ? And how is the syntax in Carto ? |
it is a hack and therefore is intentionally undocumented. The only documentation is #238 (comment). #347 is what it is going to take to make this officially supported. |
Is there a chance to add this support into the Carto? It allows to fine tune the style. |
Definitely. The main shortcoming for CartoCSS here at the moment are developers who are willing to submit patches. However, for this specifically it will be first necessary to find a proper way to represent this in CartoCSS (see #347). There is a unfinished PR that needs to be picked up and probably rewritten from scratch. Current plans are to release 1.0 in early 2018 without this and tackle this afterwards. |
Since mapnik 2.1 you can provide a list of placement options for the textsymbolizer. This is an alternative to the "simple" placement type.
(from https://github.com/mapnik/mapnik/wiki/TextSymbolizer )
I don't have a particularly clear idea what the carto syntax would look like for this!
See also mapnik/mapnik-reference#45 , since it's not yet in mapnik-reference either.
The text was updated successfully, but these errors were encountered: