Closed tomchadwin closed 6 years ago
Hey @tomchadwin , one way to fix this could you set the initial labels to hidden?
Yes, that would of course be more sensible. However, I didn't think the Leaflet example explicitly did display them. I'll look through my code and see if I can tweak it. Thanks.
Closing this for now, as the requirement was based on a misapplication of the lib.
I've added an opacity transition to the style, and this works well. However, this means all overlapping labels initially display on map load, immediately transitioning to fade out.
What would be the easiest way to differentiate calls to
hideLabel()
made initially from subsequent ones? The transition could then be removed for the subsequent calls.