## Images inside group polygons

You can use the groupContentDecorator callback to draw arbitrary content in each group polygon. This example loads a set of social icons in the SVG format and renders them inside FoamTree.

#### What's in the code?

- using the groupContentDecorator to draw custom contents inside group polygons
- asynchronous loading of SVG images, redrawing FoamTree once new images finished loading
- a workaround for the Firefox bug related to SVG rendering. Please also note that the quality of SVG rendering onto Canvas on Firefox seems much lower than on other browsers.