MapEngine icon indicating copy to clipboard operation
MapEngine copied to clipboard

Display orientation

Open Vrganj opened this issue 2 years ago • 1 comments

It would be nice if you could specify the orientation in 90 degree increments.

Vrganj avatar Nov 05 '23 14:11 Vrganj

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.

pianoman911 avatar Nov 05 '23 15:11 pianoman911