cursorPositionConfigSchema
cursorPositionConfigSchema = defineWidgetConfig({ inToolbar: inToolbarSchemaFrom(false), active: true, i18n: i18nSchemaFrom({ 'dropdown-label': { fr: 'Coordonnées du pointeur en', nl: 'NL - Coordonnées du pointeur en', }, }), config: z .object({ defaultWkid: z.number().optional(), allowEdit: z.boolean().default(true), projectionOptions: projectionOptionSchema.array().default([ { wkid: 3812, }, { wkid: 31370, }, { wkid: 4326, label: { fr: 'WGS84 (DD)', nl: 'NL - WGS84 (DD)', }, }, { wkid: 4326, label: { fr: 'WGS84 (DMS)', nl: 'NL - WGS84 (DMS)', }, dms: true, }, ]), }) .prefault({}),})