GoogleMaps Framework Reference

GMSStyleSpansOffset

extern NSArray<GMSStyleSpan *> *_Nonnull GMSStyleSpansOffset(
    GMSPath *_Nonnull path, NSArray<GMSStrokeStyle *> *_Nonnull styles,
    NSArray<NSNumber *> *_Nonnull lengths, GMSLengthKind lengthKind,
    double lengthOffset)

Similar to GMSStyleSpans(path, styles, lengths, lengthKind) but additionally takes an initial length offset that will be skipped over relative to the lengths array.

lengthOffset the length (e.g. in meters) that should be skipped initially from lengths.