* @param context
* @return
*/
public Kml buildKMLDocument(KmlEncodingContext context) {
// prepare kml, document and folder
Kml kml = new Kml();
Document document = kml.createAndSetDocument();
String kmltitle = (String) context.getRequest().getFormatOptions().get("kmltitle");
document.setName(kmltitle);
// get the callbacks for the document and let them loose
List<KmlDecorator> decorators = context.getDecoratorsForClass(Document.class);