| 5 | | By the way, lately I discovered that JOSM implements @media selectors - a very wise move, I will add support in pgmapcss with the next version. I was thinking, maybe we could introduce feature dependencies, like @media (feature: repeat-image) { something with repeat image } @media not (feature: repeat-image) { alternative code for renderers which do not implement this feature }. What do you think? |
| | 5 | By the way, lately I discovered that JOSM implements @media selectors - a very wise move, I will add support in pgmapcss with the next version. I was thinking, maybe we could introduce feature dependencies, like: |
| | 6 | {{{ |
| | 7 | #!css |
| | 8 | @media (feature: repeat-image) { something with repeat image } |
| | 9 | @media not (feature: repeat-image) { alternative code for renderers which do not implement this feature } |
| | 10 | }}} |
| | 11 | |
| | 12 | What do you think? |