Skip to content

v3.1.1

Latest

Choose a tag to compare

@trasch trasch released this 05 Nov 08:17
bf5b03b

Bugfix release for incorrect MVT polygon winding.

Fixed

  • MVT polygon rings are now normalized in tile space: exterior rings have a
    positive signed area (clockwise on screen) and holes a negative one, as
    required by MVT 2.1.
  • This fixes the winding inversion introduced in 3.0.0 that could break
    MapLibre fill-extrusion rendering (3D buildings) and other consumers that
    depend on absolute ring orientation.
  • MVT polygon ring grouping in the decoder now uses the same tile-space
    convention for EPSG:4326, EPSG:3857 and EPSG:4978.

Upgrade notes

  • Recommended for anyone writing MVT from geographic coordinates, especially
    fill-extrusion/3D building layers. No API changes.