code: function(patternDef, latLngs) {
          return {
              symbolFactory: patternDef.symbol,
              // Parse offset and repeat values, managing the two cases:
              // absolute (in pixels) or relative (in percentage of the polyline length)
              offset: parseRelativeOrAbsoluteValue(patternDef.offset),
              endOffset: parseRelativeOrAbsoluteValue(patternDef.endOffset),
              repeat: parseRelativeOrAbsoluteValue(patternDef.repeat),
          };
      }
docs: Parse the pattern definition