[Mapcss] how to create a style for cutting / embankment

Paul Hartmann phaaurlt at googlemail.com
Tue Aug 28 21:15:09 BST 2012


On 08/28/2012 07:34 PM, Jan Tappenbeck wrote:
> hi !
>
> i want to create a mapcss-style to show cutting [1]  or embankment [2]
> to show in JSOM.
>
> in the web i did not found any basic-example-style.
>
> can anyone help me ?


So how exactly do you want it to look?

The most basic way is to add a casing.

way[embankment=yes]::emb {
   casing-width: 10;
   casing-color: blue;
   casing-dashes: 2, 8;
}

There are plenty of basic examples:
http://josm.openstreetmap.de/wiki/Styles

Paul




More information about the Mapcss mailing list