ConservationMetrics / mapgl-tile-renderer

Headless Node.js Maplibre-GL renderer for generating MBTiles with styled raster tiles.
MIT License
12 stars 3 forks source link

Set maplibre Map mode to 'tile' #42

Closed rudokemper closed 9 months ago

rudokemper commented 9 months ago

Per https://github.com/ConservationMetrics/mapgl-tile-renderer/issues/41, this PR has mapgl-tile-renderer create a Maplibre-GL map with mode: tile to avoid label clipping across tiles.

Before:

image

After:

image

There is perhaps an additional batch of work to resolve label clipping even when the mode is set, as described in the above issue.