Regenerate docs
This commit is contained in:
parent
5e03a06bf7
commit
83641d2494
3 changed files with 46 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
+ [left_right_style](#left_right_style)
|
||||
+ [split_point](#split_point)
|
||||
+ [current_view](#current_view)
|
||||
+ [matchpoint](#matchpoint)
|
||||
1. [Normal layers](#normal-layers)
|
||||
- [Frequently reused layers](#frequently-reused-layers)
|
||||
+ [bicycle_library](#bicycle_library)
|
||||
|
@ -159,6 +160,7 @@
|
|||
- [left_right_style](#left_right_style)
|
||||
- [split_point](#split_point)
|
||||
- [current_view](#current_view)
|
||||
- [matchpoint](#matchpoint)
|
||||
|
||||
|
||||
### gps_location
|
||||
|
@ -287,6 +289,19 @@ The icon on the button is the default icon of the layer, but can be customized b
|
|||
|
||||
|
||||
|
||||
- This layer can **not** be included in a theme. It is solely used by [special renderings](SpecialRenderings.md) showing a minimap with custom data.
|
||||
|
||||
|
||||
### matchpoint
|
||||
|
||||
|
||||
|
||||
The default rendering for a locationInput which snaps onto another object
|
||||
|
||||
[Go to the source code](../assets/layers/matchpoint/matchpoint.json)
|
||||
|
||||
|
||||
|
||||
- This layer can **not** be included in a theme. It is solely used by [special renderings](SpecialRenderings.md) showing a minimap with custom data.
|
||||
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
+ [_now:date, _now:datetime, _loaded:date, _loaded:_datetime](#_nowdate,-_now:datetime,-_loaded:date,-_loaded:_datetime)
|
||||
+ [_last_edit:contributor, _last_edit:contributor:uid, _last_edit:changeset, _last_edit:timestamp, _version_number, _backend](#_last_editcontributor,-_last_edit:contributor:uid,-_last_edit:changeset,-_last_edit:timestamp,-_version_number,-_backend)
|
||||
+ [sidewalk:left, sidewalk:right, generic_key:left:property, generic_key:right:property](#sidewalkleft,-sidewalk:right,-generic_key:left:property,-generic_key:right:property)
|
||||
+ [_geometry:type](#_geometrytype)
|
||||
+ [distanceTo](#distanceto)
|
||||
+ [overlapWith](#overlapwith)
|
||||
+ [intersectionsWith](#intersectionswith)
|
||||
|
@ -151,6 +152,16 @@ Rewrites tags from 'generic_key:both:property' as 'generic_key:left:property' an
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
### _geometry:type
|
||||
|
||||
|
||||
|
||||
Adds the geometry type as property. This is identical to the GoeJson geometry type and is one of `Point`,`LineString`, `Polygon` and exceptionally `MultiPolygon` or `MultiLineString`
|
||||
|
||||
|
||||
|
||||
Calculating tags with Javascript
|
||||
----------------------------------
|
||||
|
||||
|
|
|
@ -42,6 +42,10 @@
|
|||
* [Example usage of tag_apply](#example-usage-of-tag_apply)
|
||||
+ [export_as_gpx](#export_as_gpx)
|
||||
* [Example usage of export_as_gpx](#example-usage-of-export_as_gpx)
|
||||
+ [export_as_geojson](#export_as_geojson)
|
||||
* [Example usage of export_as_geojson](#example-usage-of-export_as_geojson)
|
||||
+ [open_in_iD](#open_in_id)
|
||||
* [Example usage of open_in_iD](#example-usage-of-open_in_id)
|
||||
+ [clear_location_history](#clear_location_history)
|
||||
* [Example usage of clear_location_history](#example-usage-of-clear_location_history)
|
||||
+ [auto_apply](#auto_apply)
|
||||
|
@ -450,6 +454,22 @@ id_of_object_to_apply_this_one | _undefined_ | If specified, applies the the tag
|
|||
|
||||
`{export_as_gpx()}`
|
||||
|
||||
### export_as_geojson
|
||||
|
||||
Exports the selected feature as GeoJson-file
|
||||
|
||||
#### Example usage of export_as_geojson
|
||||
|
||||
`{export_as_geojson()}`
|
||||
|
||||
### open_in_iD
|
||||
|
||||
Opens the current view in the iD-editor
|
||||
|
||||
#### Example usage of open_in_iD
|
||||
|
||||
`{open_in_iD()}`
|
||||
|
||||
### clear_location_history
|
||||
|
||||
A button to remove the travelled track information from the device
|
||||
|
|
Loading…
Reference in a new issue