Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] improvements for layer type change logic #2995

Merged
merged 7 commits into from
Feb 13, 2025

Conversation

igorDykhta
Copy link
Collaborator

  • when switching between Geojson > Point > Heatmap layers the columns end up in an invalid state when using geoarrow point fileds which are also recognized as geojson data.

  • add an optional verifyField function to verify whether a column is valid for a column mode.

  • a layer can end up with unsupported columnMode after layer type is switched, so add extra check and try to use one of the default layer configurations in case of unsupported columnMode.

  • findDefaultLayerProps also returns altProps with layer configurations that shouldn't be created by default, but are still valid choices.

  • fix for Geojson layer not reacting to column when in COLUMN_MODE_TABLE mode.

@igorDykhta igorDykhta requested a review from ilyabo February 13, 2025 15:42
Signed-off-by: Ihor Dykhta <[email protected]>
Signed-off-by: Ihor Dykhta <[email protected]>
Signed-off-by: Ihor Dykhta <[email protected]>
Signed-off-by: Ihor Dykhta <[email protected]>
Signed-off-by: Ihor Dykhta <[email protected]>
Signed-off-by: Ihor Dykhta <[email protected]>
@igorDykhta igorDykhta changed the title [fix] changes for layer type changes logic [fix] improvements for layer type change logic Feb 13, 2025
@igorDykhta igorDykhta merged commit d30a95b into master Feb 13, 2025
8 checks passed
@igorDykhta igorDykhta deleted the igr/fix-change-layer-type branch February 13, 2025 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants