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

Possibility to change visibility of a Feature without sequential removing/adding it to map #1051

Open
appach22 opened this issue Jan 8, 2022 · 3 comments
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. stale type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@appach22
Copy link

appach22 commented Jan 8, 2022

When I add a lot of features (in my case GeoJsonFeature) via Layer.addFeature() the adding process becomes too slow (every sequential addFeature() is slower then previous due to amount of objects already drawn on the map).
For this I've found a workaround: first add all the objects invisible and than bulk set the visibility. This works much faster.
When using maps utils and GeoJsonLayer if I add objects using GeoJsonLayer.addFeature() I CAN initially set visibility to false, but than I CANNOT set it to true without removing and then adding the object itself with a new style (even if the #1050 will be fixed).

Please, add a possibility to bulk change visibility of all features in layer and to change visibility of individual feature.

Thank you!

@appach22 appach22 added triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Jan 8, 2022
@appach22 appach22 changed the title Possibility to change visibility of a Feature without removing/adding to map Possibility to change visibility of a Feature without sequential removing/adding it to map Jan 8, 2022
@stale
Copy link

stale bot commented Jun 12, 2022

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

@stale stale bot added the stale label Jun 12, 2022
@kikoso kikoso added priority: p3 Desirable enhancement or fix. May not be included in next release. and removed triage me I really want to be triaged. labels Dec 22, 2022
@stale stale bot removed the stale label Dec 22, 2022
@stale
Copy link

stale bot commented Jun 18, 2023

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

@stale stale bot added the stale label Jun 18, 2023
@ryust
Copy link

ryust commented Jun 18, 2023

Not stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. stale type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

4 participants