chore: Add schema entries for layers.

This commit is contained in:
Alexis Métaireau 2024-04-01 14:53:06 +02:00
parent ac866e3943
commit 0e12e0e5c3
2 changed files with 17 additions and 5 deletions

View file

@ -30,6 +30,14 @@ export const SCHEMA = {
inheritable: true, inheritable: true,
default: 'DarkBlue', default: 'DarkBlue',
}, },
choropleth: {
type: Object,
impacts: ['data'],
},
cluster: {
type: Object,
impacts: ['data'],
},
dashArray: { dashArray: {
impacts: ['data'], impacts: ['data'],
type: String, type: String,
@ -129,6 +137,10 @@ export const SCHEMA = {
label: translate('Display the fullscreen control'), label: translate('Display the fullscreen control'),
default: true, default: true,
}, },
heat: {
type: Object,
impacts: ['data'],
},
iconClass: { iconClass: {
impacts: ['data'], impacts: ['data'],
type: String, type: String,

View file

@ -527,11 +527,11 @@ L.FormBuilder.IconUrl = L.FormBuilder.BlurInput.extend({
) )
} }
const symbol = L.DomUtil.add( const symbol = L.DomUtil.add(
'button', 'button',
'flat tab-symbols', 'flat tab-symbols',
this.tabs, this.tabs,
L._('Symbol') L._('Symbol')
), ),
char = L.DomUtil.add( char = L.DomUtil.add(
'button', 'button',
'flat tab-chars', 'flat tab-chars',