Changes between Version 104 and Version 105 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2015-12-29T00:21:40+01:00 (8 years ago)
Author:
Klumbumbus
Comment:

linkfix

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v104 v105  
    11671167  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. [[br]][This function exists since version 3856, but with some restrictions. `JOSM_pref` always returns a string, but in version 7237 and earlier, the automatic conversion of string to boolean and color was not working. You can use the following workarounds for boolean values and color in version 7237 and earlier: `cond(JOSM_pref("myprefkey", "true")="true", "X", "O")` and `html2color(JOSM_pref("mycolor", "#FF345611"))`. These explicit conversions should be no longer necessary in version 7238 and later. Automatic conversion to a number works in any version.]
    11681168 setting() [''since 7450'']::
    1169   to use a [[Help/Styles/MapCSSImplementation/StyleSettings|style setting]]
     1169  to use a [[Help/Styles/MapCSSImplementation#Stylesettings|style setting]]
    11701170 degree_to_radians() [''since 8260'']::
    11711171  returns a in degree given direction in radians