Add possibility to upload your travelled track to OSM

This commit is contained in:
Pieter Vander Vennet 2022-08-05 12:39:02 +02:00
parent 9424364f3f
commit 312db3ad50
11 changed files with 208 additions and 44 deletions

View file

@ -12,9 +12,12 @@
"maxCacheAge": 0
},
"shownByDefault": false,
"mapRendering":[
"mapRendering": [
{
"location": ["point","centroid"],
"location": [
"point",
"centroid"
],
"icon": "square:red",
"iconSize": "5,5,center"
}

View file

@ -1,6 +1,6 @@
{
"id": "gps_track",
"description": "Meta layer showing the previous locations of the user as single line. Add this to your theme and override the icon to change the appearance of the current location.",
"description": "Meta layer showing the previous locations of the user as single line with controls, e.g. to erase, upload or download this track. Add this to your theme and override the maprendering to change the appearance of the travelled track.",
"minzoom": 0,
"source": {
"osmTags": "id=location_track",
@ -22,6 +22,7 @@
},
"export_as_gpx",
"export_as_geojson",
"{upload_to_osm()}",
"minimap",
{
"id": "delete",