Geomap: legend enhancements

"OpenLayers.Geometry.Polygon" is a string representing the class name of the feature type.