RegionFeatureCollection class
Methods
-
countryRegion(double lon, double lat)
→ RegionFeature?
-
Returns the country feature containing
loc
, if any.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
regionForID(dynamic id)
→ RegionFeature?
-
-
regionForLoc(double lon, double lat, {RegionLevel? level, RegionLevel? maxLevel, RegionProperties? withProp})
→ RegionFeature?
-
Returns the feature containing
loc
for the opts
, if any.
-
regionsContaining({double? lon, double? lat, List<double>? bbox, dynamic query, bool strict = false})
→ List<RegionFeature>
-
-
regionsIn(dynamic id, [bool strict = false])
→ List<RegionFeature>
-
Returns the region matching
id
and all regions it contains, if any.
If passing true
for strict
, an exact match will not be included.
-
serialize()
→ List
-
-
smallestRegion(double lon, double lat)
→ RegionFeature?
-
Returns the smallest feature of any kind containing the point, if any.
-
smallestRegionsForBBox(double minLon, double minLat, double maxLon, double maxLat)
→ List<RegionFeature>
-
-
toString()
→ String
-
A string representation of this object.
inherited