Changes between Version 151 and Version 152 of Help/Styles/MapCSSImplementation
- Timestamp:
- 2019-02-25T21:43:39+01:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSImplementation
v151 v152 1149 1149 is_similar(''str1'', ''str2''):: 1150 1150 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''] 1151 1153 1152 1154 === Examples ===