Changes between Version 171 and Version 172 of Help/Styles/MapCSSImplementation
- Timestamp:
- 2020-03-15T19:35:20+01:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSImplementation
v171 v172 967 967 === Settings of type `string` === 968 968 969 Similar to `double`. 970 TBD: add an useful example. 969 Create a setting of type `string`: 970 {{{ 971 #!mapcss 972 setting::textdisplay { 973 type: string; 974 label: tr("key used for displaying"); 975 default: "name"; /* examples for usage: alt_name, old_name, addr:housename, ref, operator, ... */ 976 } 977 }}} 978 979 Use a setting of type `string`: 980 {{{ 981 #!mapcss 982 way { 983 text: tag(setting("textdisplay")); 984 } 985 }}} 971 986 972 987 === Grouping settings ===