| 1 | meta |
| 2 | { |
| 3 | title: "Show Osm_ID"; |
| 4 | version: "1.1.18_2021-11-17"; |
| 5 | description: "This style is for a layer with the .osm file from Keypad-Mapper 3. It shows the (positive) IDs of the ways. icon: "icon.svg"; |
| 6 | author: "Chetan"; |
| 7 | link: "https://josm.openstreetmap.de/wiki/Styles/Show Osm_ID"; |
| 8 | } |
| 9 | meta[lang=de] |
| 10 | { |
| 11 | title: "Osm_ID"; |
| 12 | description: "ways showing osm_Id"; |
| 13 | link: "https://josm.openstreetmap.de/wiki/De:Styles/Show Osm_ID"; |
| 14 | } |
| 15 | |
| 16 | way[osm_id()<0]::id |
| 17 | { |
| 18 | text-halo-color: white; |
| 19 | text-halo-radius: 3; |
| 20 | font-size: 12; |
| 21 | text-color: black; |
| 22 | text-anchor-vertical: center; |
| 23 | text-offset-x: 10; |
| 24 | text-offset-y: -15; |
| 25 | text: eval(get(split(".", osm_id()), 0)); |
| 26 | z-index: 1; |
| 27 | } |