Happy holidays everyone. I am Trying to make a map svg icon morph into a logo. The problem Im having is that the fill of the first path (Map) is becoming the fill of the second path (logo), and completely blocking out the logo.
I read this thread: morph svg groups
and followed the instructions on this thread to get the from png to svg illustrator convert to svg
I noticed that in illustrator that from the steps of expand to object->compound path->make
the converted svg looses its fill. ive also noticed that there is also a square border around the actual logo svg, and when you try to change the fill in codepen, it just fills in the entire logo into one color.
Ive also seen that illustrator has alot of extraneous <g> I understand that these are useless to greensock, because morph svg can only convert path to path. I should mention i am not experienced with illustrator or photoshop, however I recently purchased the adobe cc membership and I see a ton of resources through them, but no tutorials on how to optimize and prepare svg's for working with morph or greensock animations. I see that naming the layers will give an ID to the G elements which is useless to us? Can someone please outline their png conversion to svg and then morph workflow. Should I rather just create a layer and trace over the logo png in illustrator, then delete the png, and not even bother with the auto trace? When would you do one vs the other? and why is the fill color of the first svg spilling into the entire viewbox?
So to recap, the morph is working, but i must be doing something incorrect with the preparation of the svg all advice appreciated.
Edit: I realize I included the first pen, Where i actually did trace the logo but it wasnt morphing nicely, here is the second pen I created ( where I used the autotrace feature of illustrator) you can see what I mean by the fill spilling over: Fill Spill over pen