--- layout: example.html title: Snap Interaction with Custom Segmenter shortdesc: Example of using the snap interaction with a custom LineString segmenter. docs: > The Snap interaction can be configured with a custom segmenter for each geometry type. In this example, a custom LineString segmenter adds snapping to the midpoint of each segment. tags: "draw, modify, vector, snap, midpoint" ---