Like S2PolylineLayer, but adds the polyline to a MutableS2ShapeIndex (if the polyline is non-empty).
Defines options for building the edge graph that is passed to Build().
Assembles a graph of snapped edges into the geometry type implemented by this layer. If an error is encountered, sets "error" appropriately.
See Implementation
Like S2PolylineLayer, but adds the polyline to a MutableS2ShapeIndex (if the polyline is non-empty).