Skip to content

Commit

Permalink
Merge pull request #3911 from sommerluk/doc02
Browse files Browse the repository at this point in the history
Documentation of inner line rendering
  • Loading branch information
pnorman authored Oct 7, 2019
2 parents 7d478be + eb0f6ae commit ea73a44
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions admin.mss
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,16 @@ overlapping borders correctly.
}
}
[zoom >= 10] {
// inner line
::wideline {
opacity: 0.15;
line-width: 3.6;
// Unlike planet_osm_line, planet_osm_polygon does not preserves the
// original direction of the OSM way: Following OGS at
// https://www.opengeospatial.org/standards/sfa always at the left
// is the interior and at the right the exterior of the polygon.(This
// also applies to inner rings of multipolygons.) So a negative
// line-offset is always an offset to the inner side of the polygon.
line-offset: -0.9;
line-color: green;
[boundary='aboriginal_lands'],
Expand All @@ -295,6 +302,7 @@ overlapping borders correctly.
line-offset: -2;
}
}
// outer line
::narrowline {
opacity: 0.15;
line-width: 1.8;
Expand Down

0 comments on commit ea73a44

Please sign in to comment.