Last change
on this file since 5335 was 4069, checked in by bastiK, 14 years ago |
mapcss: add role based selection (collaborative work by Gubaer and me)
|
File size:
344 bytes
|
Rev | Line | |
---|
[4069] | 1 | meta {
|
---|
| 2 | title: "MapCSS tests for relations";
|
---|
| 3 | }
|
---|
| 4 |
|
---|
| 5 | relation[test=role1] >[outer] way[test=role1_outer] { width: 4; color: navy; }
|
---|
| 6 |
|
---|
| 7 | relation[test=role1] >[role=inner][index=5] way { width: 4; color: lime; }
|
---|
| 8 |
|
---|
| 9 | area[landuse=quarry][test=parent] { fill-color : #aaa; }
|
---|
| 10 |
|
---|
| 11 | way[barrier=fence] < area[landuse=quarry][test=parent] { fill-color : #f70; }
|
---|
| 12 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.