Changes between Version 148 and Version 149 of Help/Styles/MapCSSImplementation
- Timestamp:
- 2018-11-11T20:15:51+01:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSImplementation
v148 v149 1147 1147 at(lat,lon):: 1148 1148 returns true if the object centroid lies at given ''lat''/''lon'' coordinates, e.g. to check for nodes at "null island" `node[at(0.0,0.0)]` [''since 12514''] 1149 1149 is_similar(''str1'', ''str2''):: 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''] 1150 1151 1151 1152 === Examples ===