Positioning tooltip on polygon in leaflet
I am trying to put permanent tooltip on the center of polygons on a leaflet map but they still are far from the polygon… Even if I change offset.
My code (in onEachFeature function) is :
I am trying to put permanent tooltip on the center of polygons on a leaflet map but they still are far from the polygon… Even if I change offset.
My code (in onEachFeature function) is :