You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Publication Layout's globe locator is clipped near a pole #2348
I searched the existing issues and did not find a duplicate.
This is a bug report, not a usage question (questions belong in Discussions).
What happened?
layout.publication sizes its globe locator for a disc that fills its circle at the area's own latitude. Near a pole the camera can't draw a globe that small there: its resolution stops at its coarsest (MAX_RES), so the disc comes out much larger than the circle and the locator shows a clipped piece of globe instead of the globe with the area outlined.
With an extent over Svalbard ([10, 76, 30, 81]) on A4 portrait, the locator is drawn at 1:271,000,000 centred at 78.8° N with the camera at its coarsest. The same happens on a map on the Globe projection with no extent and the view near a pole when "locator": "globe" is asked for (#2337 made that sheet centre on the view).
Steps to reproduce
Open the sample project.
Run layout.publication with {"profile": "a4-portrait", "extent": [10, 76, 30, 81]}.
Look at the locator in the top left corner.
Expected behavior
The locator shows the whole globe in its circle, with the area outlined. Where the globe can't be drawn that small at the area's latitude, it is centred as near the area as fits (as the main frame of a whole-globe sheet already is), and the area is still outlined on it.
Activity
jgregoriorincon commentedon Nov 17, 2026
I'm working on this; the fix is ready and a PR will follow.
fix(layout): a globe locator says where it is centred, keeps a too-sm…
fix(layout): read a frame on the globe through the globe when outlini…
test(layout): match the whole-globe notices exactly and write the loc…
fix(layout): break a globe frame's outline where its edges leave the …
fix(layout): a globe locator keeps its area off the rim, and its outl…
fix(layout): bring a globe frame's outline to a flat frame's side of …
fix(layout): a globe locator is whole when its disc fits, and only a …
fix(layout): size and centre a globe locator so it fits its circle ne…