From 458d68a4bb088389fd94df61071b006bdabce01d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Fri, 10 May 2024 00:40:13 +0200 Subject: [PATCH] fix(sync): allow features geometries to be synced By defining the `geometry` property in the schema. --- umap/static/umap/js/modules/schema.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/umap/static/umap/js/modules/schema.js b/umap/static/umap/js/modules/schema.js index 74856308..2553360e 100644 --- a/umap/static/umap/js/modules/schema.js +++ b/umap/static/umap/js/modules/schema.js @@ -191,6 +191,11 @@ export const SCHEMA = { label: translate('Display the fullscreen control'), default: true, }, + geometry: { + type: Object, + impacts: ['data'], + belongsTo: ['feature'], + }, heat: { type: Object, impacts: ['data'],