Changes between Version 262 and Version 268 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v262 v268  
    2121    set: class;
    2222    set: .class;
     23    /* note that validator rules do not use the colon after set */
    2324}
    2425}}}
     
    342343}}}
    343344{{{#!td align=left valign=top
    344 [https://download.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#sum Regular expression] match
     345[https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/regex/Pattern.html#sum Regular expression] match
    345346
    346347}}}
     
    351352                                            /* Note, that reqular expressions have to be enclosed in /.../                     */
    352353}}}
    353 Case-insensitive matching can be enabled via the embedded flag expression `(?i)` (see [https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#CASE_INSENSITIVE Pattern.CASE_INSENSITIVE]).
     354Case-insensitive matching can be enabled via the embedded flag expression `(?i)` (see [https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/regex/Pattern.html#CASE_INSENSITIVE Pattern.CASE_INSENSITIVE]).
    354355{{{
    355356#!mapcss
     
    363364}}}
    364365{{{#!td align=left valign=top
    365 negated [https://download.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#sum Regular expression] match
     366negated [https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/regex/Pattern.html#sum Regular expression] match
    366367
    367368}}}
     
    507508|-------------------------------------------------------------------------------
    508509{{{#!td align=left  valign=top
    509 Presence of tag by [https://download.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#sum Regular expression] match (since r6547)
     510Presence of tag by [https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/regex/Pattern.html#sum Regular expression] match (since r6547)
    510511}}}
    511512{{{#!td align=left  valign=top   
     
    12001201  comparison operators
    12011202 asin, atan, atan2, ceil, cos, cosh, exp, floor, log, max, min, mod (since r17759), random, round, signum, sin, sinh, sqrt, tan, tanh::
    1202   the usual meaning, [https://download.oracle.com/javase/8/docs/api/java/lang/Math.html details]
     1203  the usual meaning, [https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html details]
    12031204 cond(b, fst, snd)::
    12041205 b ? fst : snd::
     
    12731274  return the substring of ''str'', starting at index ''idx'' (0-indexed) [''since r6534'']
    12741275 substring(str, start, end)::
    1275   return the substring of ''str'', starting at index ''start'' (inclusive) up to ''end'' (exclusive) (0-indexed) [''since r6534'']
     1276  return the substring of ''str'', starting at index ''start'' (inclusive) up to ''end'' (exclusive) (0-indexed) [''since r6534''], a negative end index counts from the string end [''since r19259'']
    12761277 replace(string, old, new)::
    12771278   Replaces any occurrence of the substring ''old'' within the string ''string'' with the text ''new''
     
    12981299 CRC32_checksum(''str'')::
    12991300  calculate the CRC32 checksum of a string (result is an integer from 0 to 2^32^-1) [''since r6908'']
     1301 siunit_length(''str'')::
     1302   convert length units to meter (fault tolerant, ignoring white space) [''since r19089'']
    13001303 is_right_hand_traffic()::
    13011304  Check if there is left-hand or right-hand traffic at the current location. [''since r7193'']
     
    13281331 sort(''str1'', ''str2'', ''str3'', ''...'')::
    13291332  sorts an array of strings [''since r15279'']
    1330  sort_list()::
     1333 sort_list(''list_name'')::
    13311334  sorts a list of strings [''since r15279'']
    13321335 tag_regex(''regex'')::
    1333   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'']
    13341337 to_boolean(''str'')::
    13351338  returns the string argument as a boolean [''since r16110'']
     
    13481351 uniq(''str1'', ''str2'', ''str3'', ''...'')::
    13491352  returns a list of strings that only have unique values from an array of strings [''since r15323'']
    1350  uniq_list()::
    1351   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'']
    13521355 parent_way_angle()::
    1353   returns the angle of the parent way as a double in rad [''since r18678''] (see: text-rotation or icon-rotation)
     1356  returns the angle of the parent way as a double in rad [''since r18664''] (see: text-rotation or icon-rotation)
    13541357 convert_primitive_to_string(''PrimitiveId'')::
    13551358  returns the primitive id as a string [''since r18829'']