'Google Maps clustering feature for polygons

I want to use same feature which is used for markers on GoogleMap with clustering if you zoom out too much on map. But I want to use this for custom drawn polygons. Is this possible? I havent found any documentation supporting this officially.



Sources

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

Source: Stack Overflow

Solution Source