Changes between Version 62 and Version 63 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2014-06-10T12:12:11+02:00 (11 years ago)
Author:
bastiK
Comment:

add new eval expr.

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v62 v63  
    996996 CRC32_checksum(''str'')::
    997997  calculate the CRC32 checksum of a string (result is an integer from 0 to 2^32^-1) [''since 6908'']
     998 is_right_hand_traffic() [''since 7193'']::
     999  Check if there is left-hand or right-hand traffic at the current location. Returns true, if there is right-hand traffic at the current location.
     1000 number_of_tags() [''since 7237'']::
     1001  returns the number of tags for the current OSM object
     1002 print(o) [''since 7237'']::
     1003  prints a string representation of `o` to the command line (for debugging)
     1004 println(o) [''since 7237'']::
     1005  prints a string representation of `o` to the command line, followed by a new line (for debugging)
    9981006{{{#!comment: untested
    9991007 JOSM_pref(''key'', ''default'')