Posts: 15
Joined: Thu Jan 23, 2020 4:25 pm

z-index for the Clusters and MapPoints

Mon May 29, 2023 10:54 am

Hi all.

When I display clusters for MapPoints, the labels with the names of countries overlap these clusters, which makes it difficult to click on them or fix the mouse movement event over them. At the same time, the countries are the first series and MapPoint is the second series. But this does not affect the display by z-index. Accordingly, when zooming out of the map, the problem with clusters becomes even greater, since even hidden labels for some reason are on top of the clusters and interfere with interacting with them.

My question is: how can I make CLUSTERS and individual Points on the map on top of the labels? Simple CSS does not help me.


Posts: 984
Joined: Fri Dec 16, 2022 11:45 am

Re: z-index for the Clusters and MapPoints

Tue May 30, 2023 9:44 am


Thanks for the question! You're completely right - it looks strange and it should probably not be the default behavior.

I've tried to prepare a workaround to this issue, but it seems like some kind of logic in the cluster calculations might override the z-index.

You can report this as a bug on our GitHub: ... .md&title=

Our Highcharts Map Developers will take it from there.

I'm sorry that I was unable to help. Please do not hesitate to ask if any more questions arise!

Best regards!
Highcharts Developer

Posts: 15
Joined: Thu Jan 23, 2020 4:25 pm

Re: z-index for the Clusters and MapPoints

Wed Jun 21, 2023 12:30 pm

Hi jakub.s,
Please look this post viewtopic.php?f=14&t=50940#p187088 where I explain a problem with example code

Return to “Highcharts Maps”