Show Advisory Speed Limit by default on link presets in Canada, U.S.

Canada and the United States generally post only an advisory speed limit and avoid posting a legal speed limit on highway ramps. Other countries differ. This change splits the maxspeed field into two as a workaround for the inability to limit the default inclusion of a field to a particular location set.
This commit is contained in:
Minh Nguyễn 2021-08-07 00:05:43 -07:00
parent 8e426229e8
commit 8b60bddd17
21 changed files with 67 additions and 8 deletions

View file

@ -2,5 +2,8 @@
"key": "maxspeed:advisory",
"type": "roadspeed",
"label": "Advisory Speed Limit",
"placeholder": "40, 50, 60..."
"placeholder": "40, 50, 60...",
"locationSet": {
"include": ["ca", "us"]
}
}

View file

@ -0,0 +1,9 @@
{
"key": "maxspeed:advisory",
"type": "roadspeed",
"label": "Advisory Speed Limit",
"placeholder": "40, 50, 60...",
"locationSet": {
"exclude": ["ca", "us"]
}
}