Ujjwalsharma2210 / flutter_map_math

Find all map related calculations you might need for your flutter application here
MIT License
5 stars 3 forks source link

Added findExtremalDistancePoints function #2

Closed sonole closed 5 months ago

sonole commented 5 months ago

Finding Extremal Distance Points

The findExtremalDistancePoints function aims to identify the points within a large list of LatLng objects that have the minimum or maximum distance between them. I've provided an exampleo demonstrate how the function can be used in a real-world scenario. In this example, we have a list of LatLng points representing locations on a map. By using the findExtremalDistancePoints function, we can identify the pair of points with either the minimum or maximum distance between them.

Best regards, Alex