mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 13:59:27 +02:00
Add destination_sign preset (close #6970)
This commit is contained in:
@@ -667,9 +667,15 @@ en:
|
||||
destination:
|
||||
# destination=*
|
||||
label: Destination
|
||||
destination/ref:
|
||||
# 'destination:ref=*'
|
||||
label: Destination Road Numbers
|
||||
destination/ref_oneway:
|
||||
# 'destination:ref=*'
|
||||
label: Destination Road Numbers
|
||||
destination/symbol:
|
||||
# 'destination:symbol=*'
|
||||
label: Destination Symbols
|
||||
destination/symbol_oneway:
|
||||
# 'destination:symbol=*'
|
||||
label: Destination Symbols
|
||||
@@ -8802,6 +8808,11 @@ en:
|
||||
# type=connectivity
|
||||
name: Lane Connectivity
|
||||
terms: '<translate with synonyms or related terms for ''Lane Connectivity'', separated by commas>'
|
||||
type/destination_sign:
|
||||
# type=destination_sign
|
||||
name: Destination Sign
|
||||
# 'terms: exit sign'
|
||||
terms: '<translate with synonyms or related terms for ''Destination Sign'', separated by commas>'
|
||||
type/enforcement:
|
||||
# type=enforcement
|
||||
name: Enforcement
|
||||
|
||||
@@ -118,7 +118,9 @@
|
||||
"destination_oneway": {"key": "destination", "type": "semiCombo", "label": "Destinations", "prerequisiteTag": {"key": "oneway", "value": "yes"}, "snake_case": false},
|
||||
"destination": {"key": "destination", "type": "text", "label": "Destination"},
|
||||
"destination/ref_oneway": {"key": "destination:ref", "type": "semiCombo", "label": "Destination Road Numbers", "prerequisiteTag": {"key": "oneway", "value": "yes"}, "snake_case": false},
|
||||
"destination/ref": {"key": "destination:ref", "type": "semiCombo", "label": "Destination Road Numbers", "snake_case": false},
|
||||
"destination/symbol_oneway": {"key": "destination:symbol", "type": "semiCombo", "label": "Destination Symbols", "prerequisiteTag": {"key": "oneway", "value": "yes"}},
|
||||
"destination/symbol": {"key": "destination:symbol", "type": "semiCombo", "label": "Destination Symbols"},
|
||||
"devices": {"key": "devices", "type": "number", "minValue": 0, "label": "Devices", "placeholder": "1, 2, 3..."},
|
||||
"diameter": {"key": "diameter", "type": "combo", "label": "Diameter", "snake_case": false, "placeholder": "5 mm, 10 cm, 15 in…"},
|
||||
"diet_multi": {"key": "diet:", "type": "multiCombo", "label": "Diet Types", "terms": ["gluten free", "fruitarian", "halal", "kosher", "lactose free", "meat", "pescatarian", "raw", "vegan", "vegetarian"]},
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"key": "destination:ref",
|
||||
"type": "semiCombo",
|
||||
"label": "Destination Road Numbers",
|
||||
"snake_case": false
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"key": "destination:symbol",
|
||||
"type": "semiCombo",
|
||||
"label": "Destination Symbols"
|
||||
}
|
||||
@@ -1279,6 +1279,7 @@
|
||||
"type/boundary": {"icon": "iD-boundary", "fields": ["name", "boundary"], "geometry": ["relation"], "tags": {"type": "boundary"}, "name": "Boundary"},
|
||||
"type/boundary/administrative": {"icon": "iD-boundary", "fields": ["name", "admin_level"], "moreFields": ["gnis/feature_id"], "geometry": ["relation"], "tags": {"type": "boundary", "boundary": "administrative"}, "reference": {"key": "boundary", "value": "administrative"}, "name": "Administrative Boundary"},
|
||||
"type/connectivity": {"icon": "iD-relation", "fields": ["connectivity"], "geometry": ["relation"], "tags": {"type": "connectivity"}, "name": "Lane Connectivity"},
|
||||
"type/destination_sign": {"icon": "iD-relation", "fields": ["destination", "destination/ref", "destination/symbol", "distance"], "geometry": ["relation"], "tags": {"type": "destination_sign"}, "terms": ["exit sign"], "name": "Destination Sign"},
|
||||
"type/enforcement": {"icon": "iD-relation", "fields": ["enforcement"], "geometry": ["relation"], "tags": {"type": "enforcement"}, "name": "Enforcement"},
|
||||
"type/enforcement/maxspeed": {"icon": "iD-relation", "fields": ["maxspeed"], "geometry": ["relation"], "tags": {"type": "enforcement", "enforcement": "maxspeed"}, "reference": {"key": "enforcement", "value": "maxspeed"}, "terms": ["maxspeed", "radar", "speed camera"], "name": "Speed Limit Enforcement"},
|
||||
"type/public_transport/stop_area_group": {"icon": "iD-relation", "fields": ["name", "ref", "network", "operator"], "geometry": ["relation"], "tags": {"type": "public_transport", "public_transport": "stop_area_group"}, "reference": {"key": "public_transport", "value": "stop_area_group"}, "name": "Transit Stop Area Group"},
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"icon": "iD-relation",
|
||||
"fields": [
|
||||
"destination",
|
||||
"destination/ref",
|
||||
"destination/symbol",
|
||||
"distance"
|
||||
],
|
||||
"geometry": [
|
||||
"relation"
|
||||
],
|
||||
"tags": {
|
||||
"type": "destination_sign"
|
||||
},
|
||||
"terms": [
|
||||
"exit sign"
|
||||
],
|
||||
"name": "Destination Sign"
|
||||
}
|
||||
@@ -1219,6 +1219,7 @@
|
||||
{"key": "type", "value": "multipolygon", "description": "🄿 Multipolygon (unsearchable)", "object_types": ["area", "relation"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/multipolygon.svg"},
|
||||
{"key": "type", "value": "boundary", "description": "🄿 Boundary", "object_types": ["relation"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/boundary.svg"},
|
||||
{"key": "type", "value": "connectivity", "description": "🄿 Lane Connectivity", "object_types": ["relation"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/relation.svg"},
|
||||
{"key": "type", "value": "destination_sign", "description": "🄿 Destination Sign", "object_types": ["relation"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/relation.svg"},
|
||||
{"key": "type", "value": "enforcement", "description": "🄿 Enforcement", "object_types": ["relation"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/relation.svg"},
|
||||
{"key": "enforcement", "value": "maxspeed", "description": "🄿 Speed Limit Enforcement", "object_types": ["relation"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/relation.svg"},
|
||||
{"key": "public_transport", "value": "stop_area_group", "description": "🄿 Transit Stop Area Group", "object_types": ["relation"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/relation.svg"},
|
||||
|
||||
Vendored
+10
@@ -3284,10 +3284,16 @@
|
||||
"destination/ref_oneway": {
|
||||
"label": "Destination Road Numbers"
|
||||
},
|
||||
"destination/ref": {
|
||||
"label": "Destination Road Numbers"
|
||||
},
|
||||
"destination/symbol_oneway": {
|
||||
"label": "Destination Symbols",
|
||||
"terms": ""
|
||||
},
|
||||
"destination/symbol": {
|
||||
"label": "Destination Symbols"
|
||||
},
|
||||
"devices": {
|
||||
"label": "Devices",
|
||||
"placeholder": "1, 2, 3..."
|
||||
@@ -10171,6 +10177,10 @@
|
||||
"name": "Lane Connectivity",
|
||||
"terms": ""
|
||||
},
|
||||
"type/destination_sign": {
|
||||
"name": "Destination Sign",
|
||||
"terms": "exit sign"
|
||||
},
|
||||
"type/enforcement": {
|
||||
"name": "Enforcement",
|
||||
"terms": ""
|
||||
|
||||
Reference in New Issue
Block a user