Render world copies
Replicates the MapLibre example Render world copies.
The complete document
Section titled “The complete document”# yaml-language-server: $schema=https://docs.maplibre-yaml.org/schema/latest/map.schema.json# Gallery twin of https://maplibre.org/maplibre-gl-js/docs/examples/render-world-copies/# Pan east or west: with renderWorldCopies off there is exactly one world.type: mapid: render-world-copiesconfig: center: [0, 20] zoom: 1 renderWorldCopies: false mapStyle: "https://demotiles.maplibre.org/style.json"What to notice
Section titled “What to notice”config.renderWorldCopies: falserenders a single world instead of tiling copies across the antimeridian.