﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10299	MapCSS index for last element of object	emmexx	team	"I'd like to create a style where the first node of a highway is red and the last is green.
For the 1st one I used index as in 

{{{
way[highway] >[index=1] node
}}}

But I couldn't find anything about the last element. There's no ""last"" keyword or pseudo-class in the docs. I tried with eval(count()) but I don't know how to use it in the selector.

Is there a way to accomplish that?

Thank you
  maxx 
"	enhancement	closed	normal	15.04	Core mappaint	tested	fixed	mapcss	lists@… Klumbumbus
