Skip to content

[BUG] Minimap Manager/Overlay Skewing #475

Description

@klsic

Jötunn Version: v2.29.0
Jötunn Submodule: MinimapManager / MapOverlay
Repeatability: Consistent (100%)

Problem Description:
I'm running into an alignment issue when using the Jötunn manager to add map overlays. When I use the manager, the overlays appear skewed or slightly offset relative to the actual terrain. I’m not entirely sure if this is a bug in the manager or if I’m simply using the system in a way that wasn't intended for high-accuracy heightmaps.

I managed to get the alignment I needed by using a custom implementation that parents a RawImage directly to m_mapImageLarge and manually syncs the uvRect during panning and zooming. I’m submitting this because I can’t tell if Jötunn is supposed to handle that UV synchronization automatically or if I’m missing a step in the intended workflow.

Expected Behaviour:
1:1 alignment of overlays on top of the minimap and world map that stays locked to the terrain during panning and zooming.

Actual Behaviour:
The texture appears slightly wider or stretched compared to the underlying map, leading to a misalignment with the terrain features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions