forked from MapComplete/MapComplete
Add gps track line, add documentation
This commit is contained in:
parent
7b7076168f
commit
d3d51af667
18 changed files with 278 additions and 145 deletions
21
assets/layers/gps_track/gps_track.json
Normal file
21
assets/layers/gps_track/gps_track.json
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"id": "gps_track",
|
||||
"description": "Meta layer showing the previou locations of the user. Add this to your theme and override the icon to change the appearance of the current location.",
|
||||
"minzoom": 0,
|
||||
"source": {
|
||||
"osmTags": "user:location=yes",
|
||||
"maxCacheAge": 0
|
||||
},
|
||||
"name": "Your track",
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": "circle:#f00",
|
||||
"iconSize": "2,2,center",
|
||||
"location": "point"
|
||||
},
|
||||
{
|
||||
"width": 3,
|
||||
"color": "#bb000077"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue