vy2 = distanceFromWay * Math.cos(Math.toRadians(fromAngleDeg));
}
iconAngle = 270 - fromAngleDeg;
}
IconElemStyle nodeStyle = getPrimitiveNodeStyle(r);
if (nodeStyle == null) {
r.putError(tr("Style for restriction {0} not found.", r.keys
.get("restriction")), true);
return;