-
Couldn't load subscription status.
- Fork 1
Add cell layer only option #107
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -273,6 +273,8 @@ export const landscape_ist = async ( | |
|
|
||
| await set_landscape_parameters(viz_state.img, base_url, viz_state.aws); | ||
|
|
||
| const cell_layer_only = | ||
| viz_state.img.landscape_parameters.cell_layer_only === true; | ||
|
||
| const tmp_image_info = viz_state.img.landscape_parameters.image_info; | ||
|
|
||
| viz_state.vector_name_integer = | ||
|
|
@@ -397,7 +399,12 @@ export const landscape_ist = async ( | |
|
|
||
| update_trx_layer_radius(layers_obj, trx_radius); | ||
|
|
||
| if (viz_state.umap.state === true) { | ||
| if (cell_layer_only) { | ||
cornhundred marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| toggle_background_layer_visibility(layers_obj, false); | ||
| toggle_visibility_image_layers(layers_obj, false); | ||
| toggle_trx_layer_visibility(layers_obj, false); | ||
| toggle_path_layer_visibility(layers_obj, false); | ||
| } else if (viz_state.umap.state === true) { | ||
| toggle_background_layer_visibility(layers_obj, false); | ||
| toggle_visibility_image_layers(layers_obj, false); | ||
| toggle_trx_layer_visibility(layers_obj, false); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
tile_sizevariable is destructured but not used in this function; consider removing it if it's unnecessary to avoid confusion.