toOffsetMany method

Iterable<Offset> toOffsetMany(
  1. Iterable<LatLng> locations
)

Converts many LatLng coordinates to XY Offset.

Implementation

Iterable<Offset> toOffsetMany(Iterable<LatLng> locations) {
  return locations.map((e) => toOffset(e));
}