Added stroke-dashArray to path options
This commit is contained in:
parent
064902665e
commit
b1e08ab8c2
@ -93,6 +93,11 @@ L.SVG = L.Renderer.extend({
|
||||
path.removeAttribute('stroke-dasharray');
|
||||
}
|
||||
|
||||
if (options.dashArrayOffset) {
|
||||
path.setAttribute('stroke-dashoffset', options.dashArrayOffset);
|
||||
} else {
|
||||
path.removeAttribute('stroke-dashoffset');
|
||||
}
|
||||
} else {
|
||||
path.setAttribute('stroke', 'none');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user