setExtension(wptType, "ShapingPoint", "ViaPoint", tripFactory.createViaPoint(viaPointExtensionT));
}
private void setShapingPoint(WptType wptType) {
slash.navigation.gpx.trip1.ObjectFactory tripFactory = new slash.navigation.gpx.trip1.ObjectFactory();
ViaPointExtensionT viaPointExtensionT = tripFactory.createViaPointExtensionT();
viaPointExtensionT.setCalculationMode("ShorterDistance");
viaPointExtensionT.setElevationMode("Standard");
setExtension(wptType, "ViaPoint", "ShapingPoint", tripFactory.createShapingPoint(tripFactory.createShapingPointExtensionT()));
}