map unfair behaviour #2

Closed
opened 2026-01-01 19:05:53 -05:00 by sanwalsulehri · 2 comments
sanwalsulehri commented 2026-01-01 19:05:53 -05:00 (Migrated from github.com)

why it repeating it not look smooth

Image
why it repeating it not look smooth <img width="3360" height="1924" alt="Image" src="https://github.com/user-attachments/assets/c5807beb-749c-4fbf-8340-819cb9e71046" />
esau-morais commented 2026-01-01 20:18:09 -05:00 (Migrated from github.com)

that's how the globe works lol, however you can disable it

maplibre/maplibre-gl-js@b457ca945c/src/ui/map.ts (L251)

that's how the globe works lol, however you can disable it https://github.com/maplibre/maplibre-gl-js/blob/b457ca945cf746a75ecb5412a2165142faa159c0/src/ui/map.ts#L251
AnmolSaini16 commented 2026-01-02 00:15:43 -05:00 (Migrated from github.com)

This is the default behavior of how MapLibre renders the globe.
I’ve updated it to set renderWorldCopies = false by default, so the repetition is disabled unless explicitly enabled.

Thanks for pointing this out, and thanks @esau-morais for the reference 👍

This is the default behavior of how MapLibre renders the globe. I’ve updated it to set renderWorldCopies = false by default, so the repetition is disabled unless explicitly enabled. Thanks for pointing this out, and thanks @esau-morais for the reference 👍
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AnmolSaini16/mapcn#2
No description provided.