1

I have been using tooltips as a form of labeling my polygons in Leaflet. The problem I'm not able to solve is to remove the labels from the view that doesn't fit completely inside the feature. Something similar to what happens when we select Only draw labels which fit completely in the feature in QGIS

The polygons are in GeoJSON format and I'm using the latest leaflet version. Please help me if you know a way around this problem!

Thanks in advance

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.