NEAREST_KEYPOINT

Snaps to the nearest of the element's keypoints. Keypoints are defined by the element's geometry type and the snap divisor.

On linear elements, keypoints are regularly spaced along each segment: the number of keypoints on a segment is one greater than the snap divisor, and a segment's midpoint is a keypoint only when the divisor is even. The ion API does not currently accept a snap divisor, so the server's default divisor applies.

Value - 2