diff --git a/assets/layers/cycleways_and_roads/cycleways_and_roads.json b/assets/layers/cycleways_and_roads/cycleways_and_roads.json index 8c7131cd5..d3060cf28 100644 --- a/assets/layers/cycleways_and_roads/cycleways_and_roads.json +++ b/assets/layers/cycleways_and_roads/cycleways_and_roads.json @@ -20,6 +20,12 @@ "highway=unclassified", "highway=primary", "highway=secondary", + "highway=tertiary_link", + "highway=primary_link", + "highway=secondary_link", + "highway=service", + "highway=footway", + "highway=pedestrian", { "and": [ "highway=path", @@ -109,7 +115,8 @@ "condition": { "and": [ "highway!=cycleway", - "highway!=path" + "highway!=path", + "highway!=footway" ] }, "mappings": [ @@ -226,7 +233,8 @@ "condition": { "and": [ "highway!=cycleway", - "highway!=path" + "highway!=path", + "highway!=footway" ] }, "mappings": [ @@ -280,7 +288,8 @@ "condition": { "and": [ "highway!=cycleway", - "highway!=path" + "highway!=path", + "highway!=footway" ] }, "mappings": [ @@ -776,7 +785,8 @@ "condition": { "and": [ "highway!=cycleway", - "highway!=path" + "highway!=path", + "highway!=footway" ] }, "render": { diff --git a/assets/layers/kerbs/KerbIcon.svg b/assets/layers/kerbs/KerbIcon.svg index 001b5eac1..d19fa5ad2 100644 --- a/assets/layers/kerbs/KerbIcon.svg +++ b/assets/layers/kerbs/KerbIcon.svg @@ -1,6 +1,4 @@ - - + inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" + sodipodi:docname="KerbIcon.svg"> + inkscape:window-width="2160" + inkscape:window-height="1346" + inkscape:window-x="-11" + inkscape:window-y="-11" + inkscape:window-maximized="1" + inkscape:document-rotation="0"> + originx="-334.84375" + originy="-479.73718" + spacingx="1" + spacingy="1" /> @@ -66,22 +67,26 @@ inkscape:groupmode="layer" id="layer1" transform="translate(-334.84375,-558.61859)"> - - - + + + + + diff --git a/assets/layers/kerbs/kerbs.json b/assets/layers/kerbs/kerbs.json index 2c73adeb7..bd007dcc8 100644 --- a/assets/layers/kerbs/kerbs.json +++ b/assets/layers/kerbs/kerbs.json @@ -21,10 +21,10 @@ "mapRendering": [ { "location": [ - "point", - "centroid" + "point" ], "icon": "./assets/layers/kerbs/KerbIcon.svg", + "iconSize": "25,23,center", "iconBadges": [ { "if": "kerb=raised", @@ -39,6 +39,10 @@ "then": "circle:#11ff00" } ] + }, + { + "color": "#f44e42", + "width": "8" } ], "tagRenderings": [ @@ -88,5 +92,25 @@ } ] } + ], + "presets": [ + { + "title": { + "en": "a kerb", + "nl": "een stoeprand" + }, + "tags": [ + "barrier=kerb" + ], + "description": { + "en": "Kerb in a footway", + "nl": "Stoeprand in een voetpad" + }, + "preciseInput": { + "maxSnapDistance": 10, + "preferredBackground": "photo", + "snapToLayer": ["cycleways_and_roads", "kerbs"] + } + } ] } \ No newline at end of file diff --git a/assets/svg/license_info.json b/assets/svg/license_info.json index 530adea9a..531a7d5bf 100644 --- a/assets/svg/license_info.json +++ b/assets/svg/license_info.json @@ -1281,6 +1281,14 @@ "https://commons.wikimedia.org/wiki/File:OOjs_UI_icon_language-ltr.svg" ] }, + { + "path": "triangle.svg", + "license": "CC0", + "authors": [ + "Robin van der Linde" + ], + "sources": [] + }, { "path": "up.svg", "license": "CC0; trivial", diff --git a/assets/svg/triangle.svg b/assets/svg/triangle.svg new file mode 100644 index 000000000..846a32f32 --- /dev/null +++ b/assets/svg/triangle.svg @@ -0,0 +1,9 @@ + + + + diff --git a/assets/themes/mapcomplete-changes/mapcomplete-changes.json b/assets/themes/mapcomplete-changes/mapcomplete-changes.json index 0a04dea61..924a272e9 100644 --- a/assets/themes/mapcomplete-changes/mapcomplete-changes.json +++ b/assets/themes/mapcomplete-changes/mapcomplete-changes.json @@ -203,6 +203,10 @@ "if": "theme=hailhydrant", "then": "./assets/themes/hailhydrant/logo.svg" }, + { + "if": "theme=kerbs_and_crossings", + "then": "./assets/layers/kerbs/KerbIcon.svg" + }, { "if": "theme=mapcomplete-changes", "then": "./assets/svg/logo.svg"