diff --git a/assets/layers/transit_routes/license_info.json b/assets/layers/transit_routes/license_info.json new file mode 100644 index 000000000..2af5aeef8 --- /dev/null +++ b/assets/layers/transit_routes/license_info.json @@ -0,0 +1,12 @@ +[ + { + "path": "relatify.png", + "license": "AGPLv3", + "authors": [ + "Kamil Monicz" + ], + "sources": [ + "https://github.com/Zaczero/osm-relatify/blob/main/web/static/img/icon.png" + ] + } +] \ No newline at end of file diff --git a/assets/layers/transit_routes/relatify.png b/assets/layers/transit_routes/relatify.png new file mode 100644 index 000000000..39b23abde Binary files /dev/null and b/assets/layers/transit_routes/relatify.png differ diff --git a/assets/layers/transit_routes/relatify.png.license b/assets/layers/transit_routes/relatify.png.license new file mode 100644 index 000000000..b35ebf9ef --- /dev/null +++ b/assets/layers/transit_routes/relatify.png.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Kamil Monicz +SPDX-License-Identifier: AGPLv3 \ No newline at end of file diff --git a/assets/layers/transit_routes/transit_routes.json b/assets/layers/transit_routes/transit_routes.json index c4c263df7..eecc68f4c 100644 --- a/assets/layers/transit_routes/transit_routes.json +++ b/assets/layers/transit_routes/transit_routes.json @@ -60,7 +60,8 @@ "then": "{colour}" } ] - } + }, + "width": 5 } ], "tagRenderings": [ @@ -209,5 +210,20 @@ "ca": "Quina companyia opera aquesta línia d'autobús?" } } + ], + "titleIcons": [ + { + "condition": { + "and": [ + "id~relation/[0-9]+", + "_numeric_id~*" + ] + }, + "render": "on relatify" + }, + "icons.defaults" + ], + "calculatedTags": [ + "_numeric_id=feat.properties.id.split('/')[1]" ] -} +} \ No newline at end of file