'How can I change style or unvisible openlayers cluster with 40,000+ data?

Im using javascript and openlayers and I'm troubled in clustering bunch of data(40,000+). First, I made cluster with all my data by features with properties. example)

id: "61b989a38e8d3d422876f817" name: "LGU" relative_alt: 100050 rsrp: -74 telecom: "LGU" visibility: 1

here is my question! I want to disable or change style to null whatever unvisible features, with my limit. example

like this code. but if I try this, it took so long.

Thank you!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source