Turns out calculating a good visual center point for a polygon is actually not-trivial at all.
Instead of re-inventing the wheel the mapbox polylabel algorithm/package is used which is probably the most common solution these days (also used by flutter map)
Turns out calculating a good visual center point for a polygon is actually not-trivial at all. Instead of re-inventing the wheel the mapbox polylabel algorithm/package is used which is probably the most common solution these days (also used by flutter map)