rurseekatze / node-tileserver

A lightweight tileserver based on NodeJS for serving bitmap and vector tiles.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ordering of features with z-index not working

rurseekatze opened this issue · comments

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:

styleFeatures: function (features, zoom, styleNames) {

Example:
Speed signals and the used MapCSS stylesheet.