diff --git a/api/config/categories/sensor.cjs b/api/config/categories/sensor.cjs new file mode 100644 index 00000000..0f607e30 --- /dev/null +++ b/api/config/categories/sensor.cjs @@ -0,0 +1,19 @@ +module.exports = function ({ domain }) { + return [{ + name: 'Categories.SENSOR_LAYERS', + i18n: { + fr: { + Categories: { + SENSOR_LAYERS: 'Capteurs' + } + }, + en: { + Categories: { + SENSOR_LAYERS: 'Sensors' + } + } + }, + icon: 'las la-satellite-dish', + options: { exclusive: false, filter: { type: 'OverlayLayer', tags: { $in: ['sensor'] } } } + }] + } \ No newline at end of file diff --git a/api/config/sublegends/sensor.cjs b/api/config/sublegends/sensor.cjs new file mode 100644 index 00000000..ad4a3093 --- /dev/null +++ b/api/config/sublegends/sensor.cjs @@ -0,0 +1,19 @@ +module.exports = function () { + return [{ + name: 'Sublegends.SENSOR', + i18n: { + fr: { + Sublegends: { + SENSOR: 'Capteurs' + } + }, + en: { + Sublegends: { + SENSOR: 'Sensors' + } + } + }, + headerClass: 'bg-grey-3 text-weight-regular', + options: { open: true, filter: { type: 'OverlayLayer' , tags: { $in: ['sensor'] } } } + }] + } \ No newline at end of file