Styling with Map CSS
Style ways, as lines
This query selects the embankments that surround Stonehenge. It then styles the results using MapCSS.
It demonstrates all the basic properties that can control the display of lines.
color- defines the colour of a line. Either as a named colour, or as a hex (e.g.
#000000) or RGB value (e.g.
dashes- specifies a dashed line. use two values, the first is length of line that is drawn, the second is the length of the gap
opacity- is a value between 0-1
width- defines the width of the line