Changes between Version 57 and Version 58 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2014-05-22T19:37:13+02:00 (12 years ago)
Author:
simon04
Comment:

any(), count()

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v57 v58  
    917917
    918918
    919 See [http://josm.openstreetmap.de/doc/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.Functions.html Javadoc of Functions] for details and an up to date list.
     919See [http://josm.openstreetmap.de/doc/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.Functions.html#method_summary Javadoc of Functions] for the up-to-date list of functions supported by JOSM's MapCSS implementation.
     920
    920921 +, -, *, /::
    921922  arithmetic operations
     
    959960 length(''str'')::
    960961  length of a string
     962 count(''lst'')::
     963  length of a list, i.e., counts its elements [''since 7162'']
    961964 length(''lst'')::
    962   length of a list [''since 5699'']
    963  coalesce(obj1, obj2, ...)::
    964   returns the first object which is not null [''since 6611'']
     965  length of a list [''since 5699''] – deprecated ''since 7162''
     966 any(obj1, obj2, ...)::
     967  returns the first object which is not null (formerly coalesce, [''since 7164''])
    965968 concat(''str1'', ''str2'', ...)::
    966969  assemble the strings to one