geo_countries library
A library that provides a list of countries from a point on the map
Classes
- GeoRelation
- A class that represents the relation between a point and a boundary
Functions
-
getCountriesFromLatLng(
LatLng point, int comparator(String a, String b)) → Future< List< String> > - Get a list of countries that ordered by the distance from the point @param {LatLng} point @returns {Future<String[]>}
-
isInsideCountry(
LatLng point, String countryCode) → Future< GeoRelation> - Check if a point is inside a country @param {LatLng} point @param {String} countryCode @returns {Future