Page MenuHomePhabricator

Maplink render incorrectly zoomed
Open, Needs TriagePublicBUG REPORT

Assigned To
None
Authored By
Smithr32
Dec 17 2025, 11:56 PM
Referenced Files
F71111513: image.png
Dec 17 2025, 11:56 PM
F71111489: image.png
Dec 17 2025, 11:56 PM

Description

Whenever I change the base type from line to shape-inverse on Template:Walt Disney World Map, it incorrectly zooms in way too much as a thumbnail

image.png (704×468 px, 54 KB)

As seen live on Walt_Disney_World with type=shape-inverse

image.png (928×712 px, 303 KB)

Original as type=line

Related Objects

Event Timeline

TheDJ subscribed.

Not the same as the linked ticket.

One cause I’ve seen this in the past that had this effect, was there being a hole in the shape, causing the inverse to cover the entire earth. Another is, when there are multiple nested shapes. shape-inverse doesn’t like that

Not the same as the linked ticket.

One cause I’ve seen this in the past that had this effect, was there being a hole in the shape, causing the inverse to cover the entire earth. Another is, when there are multiple nested shapes. shape-inverse doesn’t like that

Older ticket indeed has at least one example that uses a polygon with inner elements (relation/2315704), and here the example polygon (relation/1228099) has no inner elements. The effect with geomask appears to be the same though: map is positioned based on worldwide mask area (showing the centre of this worldwide area if zoom is entered manually). So you claim that despite the same effect the cause is different? This should be made clear in task descriptions (refer to examples where the effect is different or to different parts of the code maybe?).

Note that there is another ticket for for an issue that doesn't concern autopositioning: T228546: geomask discards inner rings.