Closed ALein closed 5 years ago
Use the modifyCss
option. Here's an example:
Let me know if you need something different.
I'm using a remote SVG , which has a originally color, and now I want to change this color when I download it, so you can download a PNG map of different
colors.modifyCss can only modify my custom outer style。
`
</svg>`
Thank you for the clarification. If you want to modify a remote SVG, you'll have to download it with an XHR request and modify the XML. This library doesn't have facility for that.
Thank you very much!
I now make an icon library, hoping to set up the color when SVG is downloaded to PNG, and I don't know how to do it.