diff --git a/assets/layers/gps_location/gps_location.json b/assets/layers/gps_location/gps_location.json index 292c16fce..7f4aaad3e 100644 --- a/assets/layers/gps_location/gps_location.json +++ b/assets/layers/gps_location/gps_location.json @@ -6,14 +6,33 @@ "osmTags": "id=gps", "maxCacheAge": 0 }, + "title": "Current position", + "name": "GPS Location", "mapRendering": [ { - "icon": "crosshair:var(--catch-detail-color)", + "icon": { + "render":"crosshair:var(--catch-detail-color)", + "mappings": [ + { + "if": "speed>2", + "then": "gps_arrow" + } + ] + }, "iconSize": "40,40,center", + "rotation": { + "render": "0deg", + "mappings": [{ + "if": { + "and":["speed>2","heading!=NaN"] + }, + "then": "{heading}deg" + }] + }, "location": [ "point", "centroid" ] } ] -} \ No newline at end of file +} diff --git a/assets/license_info.json b/assets/license_info.json index c4510d13a..29038529a 100644 --- a/assets/license_info.json +++ b/assets/license_info.json @@ -33,6 +33,22 @@ ], "sources": [] }, + { + "path": "SocialImageRepo.png", + "license": "CC0", + "authors": [ + "Pieter Vander Vennet" + ], + "sources": [] + }, + { + "path": "SocialImageRepo.svg", + "license": "CC0", + "authors": [ + "Pieter Vander Vennet" + ], + "sources": [] + }, { "path": "SocialImageSmall.png", "license": "CC-BY-SA 4.0", diff --git a/assets/svg/gps_arrow.svg b/assets/svg/gps_arrow.svg new file mode 100644 index 000000000..9b476a484 --- /dev/null +++ b/assets/svg/gps_arrow.svg @@ -0,0 +1,43 @@ + + + + + + + + diff --git a/assets/svg/license_info.json b/assets/svg/license_info.json index f645f3eb1..2e75fd955 100644 --- a/assets/svg/license_info.json +++ b/assets/svg/license_info.json @@ -577,6 +577,14 @@ "https://www.svgrepo.com/svg/22182/map" ] }, + { + "path": "gps_arrow.svg", + "license": "CC0", + "authors": [ + "Pieter Vander Vennet" + ], + "sources": [] + }, { "path": "hand.svg", "license": "CC0",