[Mapcss] Bug in the mapcss introduction slieds of Maskim?
Thomas Davie
tom.davie at gmail.com
Fri Jan 27 12:34:55 GMT 2012
At least in my interpretation of MapCSS, the behaviour when two objects are defined to have the same z-index is undefined. The order of rendering here should (in my book) be effectively random.
Bob
if (*ra4 != 0xffc78948) { return false; }
On 27 Jan 2012, at 12:24, Peter Wendorff wrote:
> Hi.
> I have to give a short introduction to someone who should implement a mapcss renderer and looked into the docs availlable for that.
> For that I especially looked into the sotm-eu presentation done by Maskim [1], and I fear there is a small bug on slide 7 (and the following pages).
>
> The stylesheet presented does not contain any z-index or layer definitions. To quote the slide, it's defined as:
>
> line[highway] {
> color: orange;
> width: 11;
> }
>
> area[building] {
> fill-color: gray;
> }
>
> line[waterway] {
> color: blue;
> width:3;
> }
>
> The image presented nearby shows a similar image, but the highway is rendered on top of the river.
> Shouldn't that be the other way around (according to the mapcss code, not to "good maps")?
>
> regards
> Peter
>
> [1] http://sotm-eu.org/slides/10_MaksimGurtovenko_MapCSS.pdf
>
> _______________________________________________
> Mapcss mailing list
> Mapcss at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/mapcss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/mapcss/attachments/20120127/023ff59d/attachment.html>
More information about the Mapcss
mailing list