src/L.PolylineDecorator.js
function(latLngs, symbolFactory, directionPoints) {
        return directionPoints.map((directionPoint, i) =>
            symbolFactory.buildSymbol(directionPoint, latLngs, this._map, i, directionPoints.length)
        );
    }
function(latLngs, symbolFactory, directionPoints) {
        return directionPoints.map((directionPoint, i) =>
            symbolFactory.buildSymbol(directionPoint, latLngs, this._map, i, directionPoints.length)
        );
    }
function ( latLngs , symbolFactory , directionPoints ) { return directionPoints . map ( ( directionPoint , i ) => symbolFactory . buildSymbol ( directionPoint , latLngs , this . _map , i , directionPoints . length ) ) ; }
Returns an array of ILayers object
Returns an array of ILayers object