Skip to content

Commit

Permalink
fix: deletion of the code that forces the data centroid when the laye…
Browse files Browse the repository at this point in the history
…r is of type circle-heatmap
  • Loading branch information
MAudelGisaia authored and MohamedHamouGisaia committed Mar 26, 2024
1 parent d460893 commit dd37d34
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -697,14 +697,7 @@ export class MapLayerAllTypesFormGroup extends ConfigFormGroup {
super({
geometryStep: new ConfigFormGroup({
...geometryFormControls,
}).withStepName(marker('Geometry'))
.withDependsOn(() => [this.geometryType])
.withOnDependencyChange(
configForm => {
if(this.geometryType.value === GEOMETRY_TYPE.circleHeat) {
configForm.get('aggregatedGeometry').setValue(AGGREGATE_GEOMETRY_TYPE.cell_center);
}
}),
}).withStepName(marker('Geometry')),
styleStep: new ConfigFormGroup({
...styleFormControls,
geometryType: new SelectFormControl(
Expand Down

0 comments on commit dd37d34

Please sign in to comment.