I'm afraid the only option to get that result is to build the image yourself. If you use BasicClusterStyle you get the number of items but not the image and if you use ImageClusterStyle , as you mentioned, you get the image but no number.
I recommend creating a bitmap using a canvas with shapes on top.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.