-
Notifications
You must be signed in to change notification settings - Fork 46
MapCSS Implementation Detail
Since MapCSS specification is still under development, we provide exact list of MapCSS features available in Kothic-JS renderer. All features of MapCSS 0.2 can be parsed by MapCSS parser, but some wasn't implemented yet.
node, way, line, area
Mapnik-style zoom levels (z1-18)
z-index -x-mapnik-layer
width, color, opacity, dashes, linecap, linejoin casing-width, casing-color, casing-opacity, casing-dashes, casing-linecap, casing-linejoin line-symbolizer
fill, fill-color, fill-opacity, fill-image
Eval expressions syntax was implemented according to Eval Syntax Specification. All built-in functions but cond are supported: tag, prop, any, max, min, int, num, metric, zmetric, sqrt. For cond you can directly evaluate the expression in Javascript, there is no need for a builtin function.
Also several list functions inside eval are supported: split, get, set, count, list, join, append, contains, sort, reverse.