|
Last change
on this file since 7945 was 4069, checked in by bastiK, 15 years ago |
|
mapcss: add role based selection (collaborative work by Gubaer and me)
|
|
File size:
344 bytes
|
| Line | |
|---|
| 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.