Gerente Posted January 5, 2018 Share Posted January 5, 2018 Hello, I'm trying to create a map based on a single SVG file (I don't want tiles). The idea is to create a map from Inkscape or Illustrator and then split the XML (svg). Since SVG it's just a XML file, I can extract each "g" nodes to create a PIXI Graphic but the "g" nodes are strings and I don't know how to create a graphic from a SVG xml string. If you have a better idea to create maps (no tiles) please let me know!, otherwise how can I create a graphic from a SVGXML String. Thanks! Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted January 5, 2018 Share Posted January 5, 2018 Try https://github.com/bigtimebuddy/pixi-svg , you can use it or re-use parts of it (bless you!) to achieve your goal. Quote Link to comment Share on other sites More sharing options...
Gerente Posted January 5, 2018 Author Share Posted January 5, 2018 Thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.