Changes between Version 266 and Version 267 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2024-09-28T22:41:06+02:00 (15 months ago)
Author:
Famlam
Comment:

Corrected revision number for uniq_list; clarify tag_regex returns the values of the _keys_ that match the regex (instead of the values); missing arguments of list functions

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v266 v267  
    13311331 sort(''str1'', ''str2'', ''str3'', ''...'')::
    13321332  sorts an array of strings [''since r15279'']
    1333  sort_list()::
     1333 sort_list(''list_name'')::
    13341334  sorts a list of strings [''since r15279'']
    13351335 tag_regex(''regex'')::
    1336   returns a list of values that match the regex [''since r15317'']
     1336  returns a list containing the values of keys that match the regex [''since r15317'']
    13371337 to_boolean(''str'')::
    13381338  returns the string argument as a boolean [''since r16110'']
     
    13511351 uniq(''str1'', ''str2'', ''str3'', ''...'')::
    13521352  returns a list of strings that only have unique values from an array of strings [''since r15323'']
    1353  uniq_list()::
    1354   returns a list of strings that only have unique values from a list of strings [''since r15353'']
     1353 uniq_list(''list_name'')::
     1354  returns a list of strings that only have unique values from a list of strings [''since r15323'']
    13551355 parent_way_angle()::
    13561356  returns the angle of the parent way as a double in rad [''since r18664''] (see: text-rotation or icon-rotation)