Changes between Version 151 and Version 152 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2019-02-25T21:43:39+01:00 (6 years ago)
Author:
Klumbumbus
Comment:

+gpx_distance() , see #17131

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v151 v152  
    11491149 is_similar(''str1'', ''str2'')::
    11501150  returns true if the two strings are similar, but not identical, i.e., have a Levenshtein distance of 1 or 2. Example: {{{way[highway][name][is_similar(tag(name), "Main Street")]}}} checks for streets with a possible typo in the name (e.g. Main Streeg). [''since 14371'']
     1151 gpx_distance()::
     1152  returns the lowest distance between the OSM object and a GPX point [''since 14802'']
    11511153
    11521154=== Examples ===