On Mon, 01 Aug 2011 15:44:51 +0100, Richard Fairhurst <[email protected]> wrote: > Komяpa wrote: > > So, I propose to add the following things: > > > > collision-sort-by: (tag/eval()) - a value used for sorting items > > within z-index and layer when rendering; > > collision-sort-order: asc/desc, by default desc; > > Good idea. > > I'd suggest renaming to collision-index and collision-index-sort. This > is analogous with z-index and therefore more CSS-like. > > Also, we should probably have 'ascending' and 'descending' rather than > 'asc' and 'desc' (CSS doesn't generally use abbreviations).
Good idea. Keep things simple and do away with the sort-order thingie. If you want inverse sort order do a *-1 :-). z-index doesn't have a sort order either. Sebastian
pgpgCmRQ5zlfM.pgp
Description: PGP signature
_______________________________________________ Mapcss mailing list [email protected] http://lists.openstreetmap.org/listinfo/mapcss
