Changes between Version 2 and Version 3 of Ru:Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2018-03-30T09:46:56+02:00 (7 years ago)
Author:
ak099
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ru:Help/Styles/MapCSSImplementation

    v2 v3  
    103103}}}
    104104{{{#!td align=left  valign=top   
    105 The {{{meta}}} selector starts a special rule that should stand at the beginning of the file. It gives some general information on the style sheet. All software that supports MapCSS should be able to parse this sections without errors, so do not use exotic syntax extensions in this part.
     105Селектор {{{meta}}} начинает особое правило, которое должно располагаться в начале файла. Оно даёт некоторую общую информацию о таблице стилей. Все программы, поддерживающие MapCSS, должны быть способны разобрать эту секцию без ошибок, поэтому не используйте экзотических синтаксических выражений в данной части.
    106106{{{
    107107#!mapcss
    108108meta {
    109     title: "Parking lanes";   /* title shown in the menu */
    110     icon: "images/logo.png";  /* small icon shown in the menu next to the title */
    111     version: "1.2";           /* the version of the style */
    112     description: "...";       /* one or two sentences of describing the style */
    113     author: "...";            /* the author(s) of the style */
    114     link: "http://...";       /* URL to the web page of the style */
    115     min-josm-version: 6789;   /* the minimum JOSM version where this style works */
     109    title: "Parking lanes";   /* заголовок, отображаемый в меню */
     110    icon: "images/logo.png";  /* маленький значок, отображаемый в меню рядом с заголовком */
     111    version: "1.2";           /* версия стиля */
     112    description: "...";       /* одно или два предложения, описывающие стиль */
     113    author: "...";            /* автор(ы) стиля */
     114    link: "http://...";       /* URL веб-страницы стиля */
     115    min-josm-version: 6789;   /* минимальная версия JOSM, в которой этот стиль работает */
    116116}
    117117}}}
     
    122122}}}
    123123{{{#!td align=left  valign=top   
    124 Some style information not specific to nodes, ways or relations.
     124Некоторая информация стиля, не специфичная для точек, линий или отношений.
    125125{{{
    126126#!mapcss
    127127canvas {
    128     fill-color: #ffffea; /* the former background-color is deprecated since r7110 */
     128    fill-color: #ffffea; /* прежний background-color устарел, начиная с r7110 */
    129129    default-points: false;
    130130    default-lines: false;
     
    132132}}}
    133133{{{#!th
    134 '''Key'''
     134'''Ключ'''
    135135}}}
    136136{{{#!th
    137 '''Description'''
     137'''Описание'''
    138138}}}
    139139{{{#!th
    140 '''Value Format'''
     140'''Формат значения'''
    141141}}}
    142142{{{#!th
    143 '''Default Value'''
     143'''Значение по умолчанию'''
    144144}}}
    145145|-
     
    148148}}}
    149149{{{#!td
    150 Specifies the overall fill/background color (`background-color` is deprecated since r7110).
    151 }}}
    152 {{{#!td
    153 ''Color''
     150Указывает общий цвет заливки/фона (`background-color` устарел, начиная с r7110).
     151}}}
     152{{{#!td
     153''Цвет''
    154154}}}
    155155{{{#!td align=center
     
    161161}}}
    162162{{{#!td
    163 Whether default point style should be added to nodes where no style applies.
    164 }}}
    165 {{{#!td
    166 ''Boolean''
     163Должен ли используемый по умолчанию стиль точки, добавляться к точкам, к которым не применим ни один стиль.
     164}}}
     165{{{#!td
     166''Логический''
    167167}}}
    168168{{{#!td align=center
     
    174174}}}
    175175{{{#!td
    176 Whether default line style should be added to ways where no style applies.
    177 }}}
    178 {{{#!td
    179 ''Boolean''
     176Должен ли используемый по умолчанию стиль линии применяться к линиям, к которым не применим ни один стиль.
     177}}}
     178{{{#!td
     179''Логический''
    180180}}}
    181181{{{#!td align=center