Changes between Initial Version and Version 1 of Ticket #10058, comment 9


Ignore:
Timestamp:
2014-05-28T22:31:26+02:00 (12 years ago)
Author:
plepe

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10058, comment 9

    initial v1  
    33I admit, that maybe we should try to keep the MapCSS standard small and simple, so it's easy to add new implementations. Additionally we could define possible extensions, like you mentioned. Though especially `::layer` is really important, I would suggest to add it to the basic definition.
    44
    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?
     5By 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
     12What do you think?