mapcomplete/assets/layers/gps_track/gps_track.json

50 lines
1.9 KiB
JSON

{
"id": "gps_track",
"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",
"maxCacheAge": 0
},
"title": {
"render": "Your travelled path"
},
"shownByDefault": false,
"tagRenderings": [
{
"id": "Privacy notice",
"render": {
"en": "This is the path you've travelled since this website is opened. Don't worry - this is only visible to you and no one else. Your location data is never sent off-device.",
"nl": "Dit is waar je was sinds je deze website hebt geopend. Dit is enkel zichtbaar voor jou en niemand anders. Je locatie wordt niet verstuurd buiten je apparaat.",
"de": "Dies ist der Weg, den Sie seit dem Besuch dieser Webseite zurückgelegt haben. Keine Sorge - diese Daten sind nur für Sie sichtbar und für niemanden sonst. Ihre Standortdaten werden niemals an ein anderes Gerät gesendet.",
"fr": "C'est le chemin que vous avez parcouru depuis l'ouverture de ce site. Ne vous inquiétez pas - ceci n'est visible que pour vous et personne d'autre. Vos données de localisation ne sont jamais envoyées hors de l'appareil."
}
},
"export_as_gpx",
"export_as_geojson",
{
"id": "upload_to_osm",
"render": "{upload_to_osm()}"
},
"minimap",
{
"id": "delete",
"render": "{clear_location_history()}"
}
],
"name": {
"en": "Your travelled track",
"nl": "Jouw afgelegde route",
"de": "Zurückgelegte Strecke",
"fr": "Votre chemin parcouru",
"da": "Dit tilbagelagte spor",
"ca": "La teva traça recorreguda"
},
"mapRendering": [
{
"width": 3,
"color": "#bb000077"
}
],
"syncSelection": "global"
}