writeTo method
Writes this geometry object to writer
.
Implementation
@override
void writeTo(SimpleGeometryContent writer) {
final type = onePoint?.type ?? Coords.xy;
writer.multiPoint(
points.map<Iterable<double>>(Position.getDoubleList),
type: type,
bounds:
boundsExplicit != null ? Box.getDoubleList(boundsExplicit!) : null,
);
}