GeoBounds<T extends GeoPoint>.make constructor
GeoBounds<T extends GeoPoint>.make (
- Iterable<
Iterable< values,num> > - PointFactory<
T> pointFactory
Geographic bounds from values
with two points (both a list of nums).
Implementation
factory GeoBounds.make(
Iterable<Iterable<num>> values,
PointFactory<T> pointFactory,
) =>
GeoBounds<T>.of(
min: pointFactory.newFrom(values.elementAt(0)),
max: pointFactory.newFrom(values.elementAt(1)),
);