简体   繁体   中英

HERE map Marker Clustering using custom image

Is there anyway I can customize the cluster image and show the numbers in a different way?

I am using the ImageClusterStyle class. But it doesn't show how many items in that cluster.

样本图片

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM