Database or array searching (MarkerClusterer)

Does anyone have an example of how I can make information searches is in array or database where I can group them and according to the vision of expanding level go? I have done based on quadtree of cesium, but is not getting the way I want ... For when I walk down the level it returns me to the previous levels ... Could someone help me?

an example:

https://googlemaps.github.io/js-marker-clusterer/examples/simple_example.html

http://leafletjs.com/2012/08/20/guest-post-markerclusterer-0-1-released.html