svg names in PShape
in
Core Library Questions
•
2 years ago
I have an svg file with the following as an example of an entry:
<g id="WA" pop1990="4866692" pop1996="5629613" statename="Washington" area="67286.878000" subregion="Pacific" statefip="53" lat="-122.004938" lon="47.118663">
2 questions:
1. Can I access child elements by name via PShape?
2. How do I access the data elements above (id, pop1990, area, etc) via PShape?
1