Skip to content

Releases: mapbox/mapbox-gl-js

v0.14.1

10 Feb 21:58
Compare
Choose a tag to compare

Bugfixes

Fix incorrectly rotated symbols along lines near tile boundries (#2062)
Fix broken rendering when a fill layer follows certain symbol layers (#2092)

v0.14.0

09 Feb 01:50
Compare
Choose a tag to compare

Breaking Changes

Switch GeoJSONSource clustering options from being measured in extent-units to pixels (#2026)

New Features & Improvements

Improved error message for invalid colors (#2006)
Added support for tiles with variable extents (#2010)
Improved filter performance and maximum size (#2024)
Changed circle rendering such that all geometry nodes are drawn, not just the geometry's outer ring (#2027)
Added Map#getStyle method (#1982)

Bugfixes

Fixed bug causing WebGL contexts to be "used up" by calling mapboxgl.supported() (#2018)
Fixed non-deterministic symbol z-order sorting (#2023)
Fixed garbled labels while zooming (#2012)
Fixed icon jumping when touching trackpad with two fingers (#1990)
Fixed overzoomed collision debug labels (#2033)
Fixed dashes sliding along their line during zooming (#2039)
Fixed overscaled minzoom setting for GeoJSON sources (#1651)
Fixed overly-strict function validation for duplicate stops (#2075)
Fixed crash due to performance.now not being present on some browsers (#2056)
Fixed the unsetting of paint properties (#2037)
Fixed bug causing multiple interaction handler event listeners to be attached (#2069)
Fixed bug causing only a single debug box to be drawn (#2034)

v0.13.1

28 Jan 00:06
Compare
Choose a tag to compare

Bugfixes

Fixed broken npm package due to outdated bundled modules

v0.13.0

27 Jan 23:17
Compare
Choose a tag to compare

Bugfixes

Fixed easeTo pan, zoom, and rotate when initial rotation != 0 (#1950)
Fixed rendering of tiles with an extent != 4096 (#1952)
Fixed missing icon collision boxes (#1978)
Fixed null Tile#buffers errors (#1987)

New Features & Improvements

Added symbol-avoid-edges style property (#1951)
Improved symbol-max-angle check algorithm (#1959)
Added marker clustering! (#1931)
Added zoomstart, zoom, and zoomend events (#1958)
Disabled drag on mousedown when using boxzoom (#1907)

v0.12.4

19 Jan 22:22
Compare
Choose a tag to compare

Bugfixes

Fix elementGroups null value errors (#1933)
Fix some glyph atlas overflow cases (#1923)

v0.12.3

14 Jan 22:53
Compare
Choose a tag to compare

API Improvements

Support inline attribution options in map options (#1865)
Improve flyTo options (#1854, #1429)

Bugfixes

Fix flickering with overscaled tiles (#1921)
Remove Node.remove calls for IE browser compatibility (#1900)
Match patterns at tile boundaries (#1908)
Fix Tile#positionAt, fix query tests (#1899)
Fix flickering on streets (#1875)
Fix text-max-angle property (#1870)
Fix overscaled line patterns (#1856)
Fix patterns and icons for mismatched pixelRatios (#1851)
Fix missing labels when text size 0 at max zoom (#1809)
Use linear interp when pixel ratios don't match (#1601)
Fix blank areas, flickering in raster layers (#1876, #675)
Fix labels slipping/cropping at tile bounds (#1882, #757)

UX Improvements

Improve touch handler perceived performance (#1844)

v0.12.2

22 Dec 18:45
Compare
Choose a tag to compare

API Improvements

  • Support LngLat.convert([w, s, e, n]) (#1812)
  • Invalid GeoJSON is now handled better

Bugfixes

  • Fixed Popup#addTo when the popup is already open (#1811)
  • Fixed warping when rotating / zooming really fast
  • Map#flyTo now flies across the antimeridan if shorter (#1853)

v0.12.1

08 Dec 20:20
Compare
Choose a tag to compare

Breaking changes

  • Reversed the direction of line-offset (#1808)
  • Renamed Pinch interaction handler to TouchZoomRotate (#1777)
  • Made Map#update and Map#render private methods (#1798)

API Improvements

  • Added an method to disable touch rotation (#1777)
  • Added a position option for Attribution (#1689)

Bugfixes

  • Ensure tile loading errors are properly reported (#1799)
  • Ensure re-adding a previously removed pop-up works (#1477)
  • Made Map#remove remove created DOM elements (#1789)

UX Improvements

  • Don't round zoom level during double-click interaction (#1640)

v0.12.0

03 Dec 01:05
Compare
Choose a tag to compare

API Improvements

  • Added line-offset style property (#1778)

v0.11.5

01 Dec 20:59
Compare
Choose a tag to compare

Bugfixes

  • Fixed unstable symbol layer render order when adding / removing layers (#1558)
  • Fire map loaded event even if raster tiles have errors
  • Fix panning animation during easeTo with zoom change
  • Fix pitching animation during flyTo
  • Fix pitching animation during easeTo
  • Prevent rotation from firing mouseend events (#1104)

API Improvements

  • Fire mousedown and mouseup events (#1411)
  • Fire movestart and moveend when panning (#1658)
  • Added drag events (#1442)
  • Request webp images for mapbox:// raster tiles in chrome (#1725)

UX Improvements

  • Added inertia to map rotation (#620)