src/L.PolylineDecorator.js
function() {
        const allPathCoords = this._paths.reduce((acc, path) => acc.concat(path), []);
        return L.latLngBounds(allPathCoords);
    }
function() {
        const allPathCoords = this._paths.reduce((acc, path) => acc.concat(path), []);
        return L.latLngBounds(allPathCoords);
    }
function ( ) { const allPathCoords = this . _paths . reduce ( ( acc , path ) => acc . concat ( path ) , [ ] ) ; return L . latLngBounds ( allPathCoords ) ; }
As real pattern bounds depends on map zoom and bounds,
we just compute the total bounds of all paths decorated by this instance.
As real pattern bounds depends on map zoom and bounds we just compute the total bounds of all paths decorated by this instance .