Changes between Version 1 and Version 2 of Ru:Help/Styles/MapCSSImplementation
- Timestamp:
- 2018-03-30T09:31:41+02:00 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ru:Help/Styles/MapCSSImplementation
v1 v2 65 65 66 66 {{{#!th align=left valign=top 67 ''' Selector'''67 '''Селектор''' 68 68 }}} 69 69 {{{#!th align=left valign=top 70 ''' Description'''70 '''Описание''' 71 71 }}} 72 72 |------------------------------------------------------------------------------- … … 75 75 }}} 76 76 {{{#!td align=left valign=top 77 Matches with any object 77 Соответствует любому объекту 78 78 }}} 79 79 |------------------------------------------------------------------------------- … … 82 82 }}} 83 83 {{{#!td align=left valign=top 84 Matches with the osm objects of the given type.84 Соответствует объектам OSM заданного типа. 85 85 }}} 86 86 |------------------------------------------------------------------------------- … … 89 89 }}} 90 90 {{{#!td align=left valign=top 91 Matches with any area regardless of whether the area border is only modelled with a single way or with a set of ways glued together with a relation.91 Соответствует любым областям, независимо от того, сформирован ли контур области одной линией или же набором линий, соединённых вместе отношением. 92 92 {{{ 93 93 #!mapcss 94 94 area[natural=beach] {...} 95 /* ... is equal to... */95 /* ... равнозначно ... */ 96 96 way[natural=beach], relation[type=multipolygon][natural=beach] {...} 97 97 }}} 98 Note that{{{area}}}selects unclosed ways as well, so it may be useful to add the{{{:closed}}}pseudo class. The JOSM Validator will give a warning for unclosed ways that have an area style.98 Заметьте, что {{{area}}} выбирает также незамкнутые линии, так что может быть полезно добавить псевдокласс {{{:closed}}}. Валидатор JOSM выдаст предупреждение для незамкнутых линий имеющих стиль area. 99 99 }}} 100 100 |-------------------------------------------------------------------------------
