forked from MapComplete/MapComplete
Actually add documentation
This commit is contained in:
parent
77e9151095
commit
087bbf7acc
108 changed files with 16564 additions and 0 deletions
52
Docs/Layers/gps_location.md
Normal file
52
Docs/Layers/gps_location.md
Normal file
|
@ -0,0 +1,52 @@
|
|||
|
||||
|
||||
gps_location
|
||||
==============
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Meta layer showing the current location of the user. Add this to your theme and override the icon to change the appearance of the current location. The object will always have `id=gps` and will have _all_ the properties included in the [`Coordinates`-object](https://developer.mozilla.org/en-US/docs/Web/API/GeolocationCoordinates) returned by the browser.
|
||||
|
||||
|
||||
|
||||
|
||||
## Table of contents
|
||||
|
||||
1. [gps_location](#gps_location)
|
||||
- [Basic tags for this layer](#basic-tags-for-this-layer)
|
||||
- [Supported attributes](#supported-attributes)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- This layer cannot be toggled in the filter view. If you import this layer in your theme, override `title` to make this toggleable.
|
||||
- Not visible in the layer selection by default. If you want to make this layer toggable, override `name`
|
||||
|
||||
|
||||
[Go to the source code](../assets/layers/gps_location/gps_location.json)
|
||||
|
||||
|
||||
|
||||
Basic tags for this layer
|
||||
---------------------------
|
||||
|
||||
|
||||
|
||||
Elements must have the all of following tags to be shown on this layer:
|
||||
|
||||
|
||||
|
||||
- <a href='https://wiki.openstreetmap.org/wiki/Key:id' target='_blank'>id</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:id%3Dgps' target='_blank'>gps</a>
|
||||
|
||||
|
||||
|
||||
|
||||
Supported attributes
|
||||
----------------------
|
||||
|
||||
|
||||
|
||||
This document is autogenerated from assets/layers/gps_location/gps_location.json
|
Loading…
Add table
Add a link
Reference in a new issue