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


Ignore:
Timestamp:
2014-06-10T13:08:36+02:00 (11 years ago)
Author:
bastiK
Comment:

update

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v63 v64  
    997997  calculate the CRC32 checksum of a string (result is an integer from 0 to 2^32^-1) [''since 6908'']
    998998 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.
     999  Check if there is left-hand or right-hand traffic at the current location.
    10001000 number_of_tags() [''since 7237'']::
    10011001  returns the number of tags for the current OSM object
     
    10041004 println(o) [''since 7237'']::
    10051005  prints a string representation of `o` to the command line, followed by a new line (for debugging)
    1006 {{{#!comment: untested
    1007  JOSM_pref(''key'', ''default'')
    1008   get JOSM preference
    1009  JOSM_pref_color(''key'', ''default'')
    1010   get color from JOSM preference
    1011 }}}
     1006 JOSM_pref(''key'', ''default'') [''since 7238'']::
     1007  Get value from the JOSM advanced preferences. This way you can offer certain options to the user and make the style customizable. It works with strings, numbers, colors and boolean values.
    10121008
    10131009