How to find the largest polygon in GeoJSON of type multipolygon so that I can add a Leaflet tooltip to the largest polygon rather then a random polygon in multipolygon?
I have a Multipolygon and when adding a tootltip to it with Leaflet, the tooltip is attached to the first polygon or a random polygon in the multipolygon. I don't want it to be that way. I want to add tooltip to the largest polygon.