regionsContaining method
Returns a list of regions that either contain the given (lon
, lat
)
location, or intersect with a given bbox
(which is minLon
, minLat
,
maxLon
, maxLat
), or contain the region matching the query
string / number. The result includes the entire region hierarchy, including
the 001
region for the entire world.
Implementation
List<RegionFeature> regionsContaining(
{double? lon,
double? lat,
List<double>? bbox,
dynamic query,
bool strict = false}) {
_checkReady();
return _borders!.regionsContaining(
lon: lon, lat: lat, bbox: bbox, query: query, strict: strict);
}