Changes between Version 1 and Version 2 of Zh_CN:Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2024-02-20T10:46:52+01:00 (17 months ago)
Author:
jmxtzgbv9
Comment:

--

Legend:

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

    v1 v2  
    194194在 MapCSS 中,你可以使用'''子选择器''',它只有在父对象和子对象都匹配的情况下才会匹配。
    195195
    196 Example:
     196示例如下:
    197197{{{
    198198#!mapcss
     
    10261026
    10271027
    1028 == 属性 ==# 属性
     1028== 属性 ==#属性
    10291029=== 一般属性 ===
    10301030
     
    11591159|| `font-style` || italic or not || `italic`, `normal` ||  `normal`  ||
    11601160
    1161 === User defined properties ===
     1161=== 用户自定义属性 ===
    11621162* In [wikitr:/Styles Mappaint styles] you can define any custom property, e.g.: `crc: CRC32_checksum(tag(name))/429496.7296;`
    11631163* In [wikitr:/Rules Validator rules] they must be prefixed by a `-`, e.g.: `-osmoseItemClassLevel: "1210/1/1";`
     
    14451445
    14461446
    1447 == Compatibility notes ==
     1447== 兼容性说明 ==
    14481448=== MapCSS 0.2 ===
    1449 ==== Grammar ====
     1449==== 语法 ====
    14501450 * `way[oneway=yes]` does not have any magic, you can use `way[oneway?]` instead
    14511451 * no `@import`
    14521452 * JOSM does not require `eval(...)` to be wrapped around expressions, but for compatibility with other MapCSS implementations you should write it out.
    14531453
    1454 ==== Properties ====
     1454==== 属性 ====
    14551455At the moment, JOSM does ''not'' support the following properties:
    14561456 line: ::