I am using leaflet label plugin to show labels on markers by using layer.bindLabel('name')
. As the number of markers is high the markers come above the label thus labels are not visible clearly.
Seems marker and its label have same z-index. I tried changing the z-index of marker by .leaflet-marker-icon{ z-index: 1000;}
and also that of the label .lealet-label{z-index: 1001;}
but still the result is the same and the z-index of marker is not changed either. What would be solution to this problem?