Skip to content

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

Open

Description

@appach22

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!

Activity

  1. added
    triage meI really want to be triaged.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Jan 8, 2022
  2. 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[/+] on Jan 8, 2022
  3. stale commented on Jun 12, 2022

    @stale

    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!

  4. added
    priority: p3Desirable enhancement or fix. May not be included in next release.
    and removed
    triage meI really want to be triaged.
    on Dec 22, 2022
  5. stale commented on Jun 18, 2023

    @stale

    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!

  6. ryust commented on Jun 18, 2023

    @ryust

    Not stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.staletype: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ Proxy