Rerun prepare script
This commit is contained in:
parent
349a6c1d53
commit
8614acdfae
24 changed files with 1132 additions and 226 deletions
|
|
@ -44,7 +44,7 @@ export class PieHexExtension extends LayerExtension {
|
|||
return layer.id.endsWith('-fill');
|
||||
}
|
||||
|
||||
getShaders(extension: any): any {
|
||||
getShaders(this: any, extension: any): any {
|
||||
if (!extension.isEnabled(this)) return null;
|
||||
return {
|
||||
modules: [
|
||||
|
|
@ -74,7 +74,7 @@ in vec4 vRatios0;
|
|||
in vec4 vRatios1;
|
||||
in vec2 vRatios2;
|
||||
const vec3 pieColors[10] = vec3[10](
|
||||
${this.paletteGlsl}
|
||||
${extension.paletteGlsl}
|
||||
);`,
|
||||
'fs:DECKGL_FILTER_COLOR': `\
|
||||
{
|
||||
|
|
|
|||
|
|
@ -156,6 +156,20 @@ export const STACKED_GROUPS: Record<
|
|||
components: ['% White', '% South Asian', '% East Asian', '% Black', '% Mixed', '% Other'],
|
||||
},
|
||||
],
|
||||
Politics: [
|
||||
{
|
||||
label: 'Political vote share',
|
||||
unit: '%',
|
||||
components: [
|
||||
'% Labour',
|
||||
'% Conservative',
|
||||
'% Liberal Democrat',
|
||||
'% Reform UK',
|
||||
'% Green',
|
||||
'% Other parties',
|
||||
],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue