Parameters
- distance
- The distance from the start point of the multipart to insert the vertex.
- asRatio
- True to treat the distance as a ratio (or %) of the multipart length.
- createPart
- (Optional) Specifies whether a new part is to be created when the part is split. For polygons, it is always set to false. The default value is false.
Return Value
The absolute index of the segment that was split. It is not relative to the part.
If the split didn't happen, -1 is returned.
