Changes between Version 1 and Version 2 of Zh_CN:Help/Styles/MapCSSImplementation
- Timestamp:
- 2024-02-20T10:46:52+01:00 (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Zh_CN:Help/Styles/MapCSSImplementation
v1 v2 194 194 在 MapCSS 中,你可以使用'''子选择器''',它只有在父对象和子对象都匹配的情况下才会匹配。 195 195 196 Example:196 示例如下: 197 197 {{{ 198 198 #!mapcss … … 1026 1026 1027 1027 1028 == 属性 ==# 1028 == 属性 ==#属性 1029 1029 === 一般属性 === 1030 1030 … … 1159 1159 || `font-style` || italic or not || `italic`, `normal` || `normal` || 1160 1160 1161 === User defined properties===1161 === 用户自定义属性 === 1162 1162 * In [wikitr:/Styles Mappaint styles] you can define any custom property, e.g.: `crc: CRC32_checksum(tag(name))/429496.7296;` 1163 1163 * In [wikitr:/Rules Validator rules] they must be prefixed by a `-`, e.g.: `-osmoseItemClassLevel: "1210/1/1";` … … 1445 1445 1446 1446 1447 == Compatibility notes==1447 == 兼容性说明 == 1448 1448 === MapCSS 0.2 === 1449 ==== Grammar====1449 ==== 语法 ==== 1450 1450 * `way[oneway=yes]` does not have any magic, you can use `way[oneway?]` instead 1451 1451 * no `@import` 1452 1452 * JOSM does not require `eval(...)` to be wrapped around expressions, but for compatibility with other MapCSS implementations you should write it out. 1453 1453 1454 ==== Properties====1454 ==== 属性 ==== 1455 1455 At the moment, JOSM does ''not'' support the following properties: 1456 1456 line: ::