MapEngine
MapEngine copied to clipboard
Display orientation
It would be nice if you could specify the orientation in 90 degree increments.
That's a good idea. I'll implement it soon. If you just want the picture rotated, you can put it in your pipeline here:
public record RotationNode(Rotation rotation) implements IPipelineStream {
@Override
public FullSpacedColorBuffer compute(FullSpacedColorBuffer buffer, IPipelineContext context) {
return buffer.rotate(this.rotation);
}
}
It is important to note that the MapClickEvent of course does not consider the rotation.