Possibility to change visibility of a Feature without sequential removing/adding it to map #1051
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.
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!
The text was updated successfully, but these errors were encountered: