documentType.getAbstractStyleSelectorGroup().add(objectFactory.createStyle(createLineStyle(ROUTE_LINE_STYLE, getLineWidth(), getRouteLineColor())));
documentType.getAbstractStyleSelectorGroup().add(objectFactory.createStyle(createLineStyle(TRACK_LINE_STYLE, getLineWidth(), getTrackLineColor())));
if (isWriteSpeed())
for (StyleType style : createSpeedTrackColors(getSpeedLineWidth()))
documentType.getAbstractStyleSelectorGroup().add(objectFactory.createStyle(style));
FolderType folderType = createWayPoints(route, startIndex, endIndex);
documentType.getAbstractFeatureGroup().add(objectFactory.createFolder(folderType));
PlacemarkType placemarkTrack = createTrack(route, startIndex, endIndex);