[Mapcss] Collisions

Sebastian Spaeth Sebastian at SSpaeth.de
Mon Aug 8 16:12:24 BST 2011


On Mon, 01 Aug 2011 15:44:51 +0100, Richard Fairhurst <richard at systemeD.net> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/mapcss/attachments/20110808/8e7d5ef4/attachment.pgp>


More information about the Mapcss mailing list