Version 3 (modified by 5 years ago) ( diff ) | ,
---|
Idea: Sowa1980
Coding: Alexander-II
meta{ title: "Building Levels Labels"; author: "Sowa1980, Alexander-II"; version: "1.[[revision]]_[[date]]"; description: "Explicitly shows such tags as roof:levels, building:levels, building:levels:underground, building:min_level in the center of building/building part."; } meta[lang=ru] { title: "Отображение этажей зданий"; description: "Выводит значение значение тегов roof:levels, building:levels, building:levels:underground, building:min_level в центре полигона здания/части"; } /* Building */ area[building][roof:levels]::t { text: eval(concat("roof:levels = ", tag("roof:levels"))); text-color: #357c23; font-size: 10; text-offset-y: 45; text-position: center; text-halo-radius: 1.5; text-halo-color: white; } area[building][building:levels]::tt { text: eval(concat("building:levels = ", tag("building:levels"))); text-color: #357c23; font-size: 10; text-offset-y: 34; text-position: center; text-halo-radius: 1.5; text-halo-color: white; } area[building][building:levels:underground]::ttt { text: eval(concat("building:levels:underground = ", tag("building:levels:underground"))); text-color: #357c23; font-size: 10; text-offset-y: 23; text-position: center; text-halo-radius: 1.5; text-halo-color: white; } area[building][building:min_level]::tttt { text: eval(concat("building:min_level = ", tag("building:min_level"))); text-color: #357c23; font-size: 10; text-offset-y: 12; text-position: center; text-halo-radius: 1.5; text-halo-color: white; } /* Building Part */ area[building:part][roof:levels]::t { text: eval(concat("roof:levels = ", tag("roof:levels"))); text-color: #1d82df; font-size: 10; text-offset-y: -12; text-position: center; text-halo-radius: 1.5; text-halo-color: white; } area[building:part][building:levels]::tt { text: eval(concat("building:levels = ", tag("building:levels"))); text-color: #1d82df; font-size: 10; text-offset-y: -23; text-position: center; text-halo-radius: 1.5; text-halo-color: white; } area[building:part][building:levels:underground]::ttt { text: eval(concat("building:levels:underground = ", tag("building:levels:underground"))); text-color: #1d82df; font-size: 10; text-offset-y: -34; text-position: center; text-halo-radius: 1.5; text-halo-color: white; } area[building:part][building:min_level]::tttt { text: eval(concat("building:min_level = ", tag("building:min_level"))); text-color: #1d82df; font-size: 10; text-offset-y: -45; text-position: center; text-halo-radius: 1.5; text-halo-color: white; }
Attachments (1)
- Снимок экрана 2019-05-19 в 16.55.16.png (1.1 MB ) - added by 5 years ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.