| | 1 | == LexxPluss Style |
| | 2 | |
| | 3 | |
| | 4 | |
| | 5 | === The code |
| | 6 | |
| | 7 | {{{ |
| | 8 | #!style type="mapcss" |
| | 9 | meta { |
| | 10 | title: "LexxPluss Style"; |
| | 11 | description: "LexxPluss style to be unicorn"; |
| | 12 | version: "0.1.[[revision]]_[[date]]"; |
| | 13 | author: "Yasuyuki Miura & Masaya Aso"; |
| | 14 | link: "https://josm.openstreetmap.de/wiki/Styles/LexxPlussStyle"; |
| | 15 | } |
| | 16 | |
| | 17 | |
| | 18 | node[agv_node_id] |
| | 19 | { |
| | 20 | symbol-shape: circle; |
| | 21 | symbol-size: +1; |
| | 22 | symbol-fill-color: green; |
| | 23 | |
| | 24 | text: agv_node_id; |
| | 25 | text-color: white; |
| | 26 | text-position: center; |
| | 27 | text-offset: 0; |
| | 28 | text-halo-radius: 3; |
| | 29 | text-halo-color:green; |
| | 30 | text-halo-opacity:0.6; |
| | 31 | font-size: 15; |
| | 32 | } |
| | 33 | |
| | 34 | way[oneway=yes] |
| | 35 | { |
| | 36 | width: 1; |
| | 37 | color: orange; |
| | 38 | dashes: 3,3; |
| | 39 | } |
| | 40 | |
| | 41 | way[oneway=no] |
| | 42 | { |
| | 43 | width: 1; |
| | 44 | color: red; |
| | 45 | dashes: 3,3; |
| | 46 | } |
| | 47 | |
| | 48 | way[line_info=goal_pose] |
| | 49 | { |
| | 50 | width: 3; |
| | 51 | color: blue; |
| | 52 | } |
| | 53 | |
| | 54 | way[goal_id] |
| | 55 | { |
| | 56 | text:goal_id; |
| | 57 | text-color: white; |
| | 58 | text-offset: 10; |
| | 59 | text-halo-radius: 3; |
| | 60 | text-halo-color:blue; |
| | 61 | text-halo-opacity:0.6; |
| | 62 | font-size: 15; |
| | 63 | } |
| | 64 | |
| | 65 | way[line_info=agv_pose] |
| | 66 | { |
| | 67 | width: 3; |
| | 68 | color: green; |
| | 69 | } |
| | 70 | |
| | 71 | area[area_name] |
| | 72 | { |
| | 73 | text: area_name; |
| | 74 | text-color: white; |
| | 75 | text-position: center; |
| | 76 | text-offset: 0; |
| | 77 | text-halo-radius: 3; |
| | 78 | text-halo-color:blue; |
| | 79 | text-halo-opacity:0.6; |
| | 80 | font-size: 15; |
| | 81 | } |
| | 82 | |
| | 83 | area[area_info=sync_area] |
| | 84 | { |
| | 85 | fill-color:darkblue; |
| | 86 | fill-opacity:0.1; |
| | 87 | |
| | 88 | } |
| | 89 | |
| | 90 | |
| | 91 | |
| | 92 | |
| | 93 | |
| | 94 | }}} |
| | 95 | |
| | 96 | If you have questions or remarks, you can reach me via [lexxpluss.com] |