128 lines
3.6 KiB
JSON
128 lines
3.6 KiB
JSON
{
|
|
"id": "speed_camera",
|
|
"name": {
|
|
"en": "Speed Camera",
|
|
"de": "Blitzer",
|
|
"nl": "Flitspaal",
|
|
"es": "Cámara de velocidad",
|
|
"ca": "Càmera de velocitat",
|
|
"cs": "Rychlostní radar"
|
|
},
|
|
"description": {
|
|
"en": "Layer showing speed cameras",
|
|
"de": "Ebene mit Blitzern",
|
|
"nl": "Laag met flitspalen",
|
|
"es": "Capa con cámaras de velocidad",
|
|
"ca": "Capa que mostra càmeres de velocitat",
|
|
"cs": "Vrstva zobrazující rychlostní radary"
|
|
},
|
|
"source": {
|
|
"osmTags": "highway=speed_camera"
|
|
},
|
|
"minzoom": 12,
|
|
"title": {
|
|
"render": {
|
|
"en": "Speed Camera",
|
|
"de": "Blitzer",
|
|
"nl": "Flitspaal",
|
|
"es": "Cámara de velocidad",
|
|
"ca": "Càmera de velocitat",
|
|
"cs": "Rychlostní radar"
|
|
}
|
|
},
|
|
"pointRendering": [
|
|
{
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
],
|
|
"marker": [
|
|
{
|
|
"icon": "square",
|
|
"color": "white"
|
|
},
|
|
{
|
|
"icon": "./assets/layers/speed_camera/speed_camera.svg"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"lineRendering": [],
|
|
"presets": [
|
|
{
|
|
"tags": [
|
|
"highway=speed_camera"
|
|
],
|
|
"title": {
|
|
"en": "a speed camera",
|
|
"de": "einen Blitzer",
|
|
"nl": "een flitspaal",
|
|
"es": "una cámara de velocidad",
|
|
"ca": "una càmera de velocitat",
|
|
"cs": "rychlostní radar"
|
|
},
|
|
"snapToLayer": [
|
|
"maxspeed"
|
|
],
|
|
"maxSnapDistance": 10
|
|
}
|
|
],
|
|
"tagRenderings": [
|
|
{
|
|
"id": "maxspeed",
|
|
"question": {
|
|
"en": "What is the maximum speed allowed at this speed camera?",
|
|
"de": "Wie hoch ist die zulässige Höchstgeschwindigkeit an diesem Blitzer?",
|
|
"nl": "Wat is de maximum toegestane snelheid bij deze flitspaal?",
|
|
"es": "¿Cuál es la velocidad máxima permitida en este radar?",
|
|
"fr": "Quelle est la vitesse maximale autorisée au niveau de ce radar ?",
|
|
"ca": "Quina és la velocitat màxima permesa en aquest radar?",
|
|
"cs": "Jaká je maximální povolená rychlost na tomto rychlostním radaru?"
|
|
},
|
|
"freeform": {
|
|
"key": "maxspeed",
|
|
"type": "pnat",
|
|
"placeholder": {
|
|
"en": "Maximum speed allowed",
|
|
"de": "Zulässige Höchstgeschwindigkeit",
|
|
"nl": "Maximum toegestane snelheid",
|
|
"es": "Velocidad máxima permitida",
|
|
"fr": "Vitesse maximale autorisée",
|
|
"ca": "Velocitat màxima permesa",
|
|
"cs": "Maximální povolená rychlost"
|
|
}
|
|
},
|
|
"render": {
|
|
"en": "The maximum speed allowed is {canonical(maxspeed)}",
|
|
"de": "Die zulässige Höchstgeschwindigkeit beträgt {canonical(maxspeed)}",
|
|
"nl": "De maximum toegestane snelheid is {canonical(maxspeed)}",
|
|
"es": "La velocidad máxima permitida es {canonical(maxspeed)}",
|
|
"fr": "La vitesse maximale autorisée est {canonical(maxspeed)}",
|
|
"ca": "La velocitat màxima permesa és {canonical(maxspeed)}",
|
|
"cs": "Maximální povolená rychlost je {canonical(maxspeed)}"
|
|
}
|
|
},
|
|
{
|
|
"id": "ref",
|
|
"render": {
|
|
"en": "The reference number of this speed camera is {ref}",
|
|
"de": "Die Referenznummer dieses Blitzers ist {ref}",
|
|
"nl": "De referentie van deze flitspaal is {ref}",
|
|
"es": "El número de referencia de este radar de velocidad es {ref}",
|
|
"cs": "Referenční číslo tohoto rychlostního radaru je {ref}"
|
|
},
|
|
"condition": "ref~*"
|
|
}
|
|
],
|
|
"units": [
|
|
{
|
|
"maxspeed": {
|
|
"quantity": "speed",
|
|
"denominations": [
|
|
"kmh",
|
|
"mph"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|