@Override
public Feature decorate(Feature feature, KmlEncodingContext context) {
Placemark pm = (Placemark) feature;
// while it's possible to have more than one style object, GE will only paint
// the first one
Style style = pm.createAndAddStyle();
List<Symbolizer> symbolizers = context.getCurrentSymbolizers();
SimpleFeature sf = context.getCurrentFeature();
if (symbolizers.size() > 0 && sf.getDefaultGeometry() != null) {
// sort by point, text, line and polygon
Map<Class, List<Symbolizer>> classified = classifySymbolizers(symbolizers);