You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am converting SVG picture to BitmapDescriptor for Google Maps. But I have found it impossible to change color of the created icons dynamically. I can change colors using ColorMapper when first time creating my icon from SVG. But if I try to create another icon from the same SVG with other colors - it doesn't work. ColorMapper change colors only once per asset.
Is there any way to change color dynamically every time I need?
I am converting SVG picture to BitmapDescriptor for Google Maps. But I have found it impossible to change color of the created icons dynamically. I can change colors using
ColorMapper
when first time creating my icon from SVG. But if I try to create another icon from the same SVG with other colors - it doesn't work. ColorMapper change colors only once per asset.Is there any way to change color dynamically every time I need?
Some pieces of code:
Converter of SVG:
ColorMapper:
These way I always get non-colored icon (original SVG - both from
footballIcon
andfootballIconDark
):result:
If I change the sequence - I will always get colored one (with mapper - both from
footballIcon
andfootballIconDark
):result:
And no way to change colors once more for this asset.
The text was updated successfully, but these errors were encountered: