simplegeo/polymaps — pull request #105 by elpaso (2012-01-06 10:19:37+00:00)
Title: Stylist title bug in case of Geometry collections

There was a bug in Stylist title function when dealing with GEOMETRYCOLLECTION: the title function removed all children, resulting in all child geometries being removed in case of a collection.

This patch makes a check before removing children to create titles and also adds titles to children in case the geometry is a collection.