rurseekatze / node-tileserver

A lightweight tileserver based on NodeJS for serving bitmap and vector tiles.
162 stars 33 forks source link

Ordering of features with z-index not working #30

Open rurseekatze opened 9 years ago

rurseekatze commented 9 years ago

Ordering features with z-index to determine their rendering order does not work correctly in some cases.

I guess that the problem occurs when using splitted MapCSS rules where multiple rules match on one feature (like in the example). It is also thinkable that z-indexes dynamically created with eval() are not supported by parts of the code. Therefore analyse what is happening here: https://github.com/rurseekatze/node-tileserver/blob/034152a29e7c6053c68972ef912c831abda19ed1/kothic/style/style.js#L79

Example: Speed signals and the used MapCSS stylesheet.

DerDakon commented 8 years ago

See description in upstream kothic issue #63.