Skip to content

Releases: visgl/react-map-gl

v7.0.6

09 Feb 19:34
Compare
Choose a tag to compare
  • Fix handling of initial cursor value (#1737)

v7.0.5

09 Feb 01:13
Compare
Choose a tag to compare
  • Confirm source exists before adding layer (#1735)

v7.0.4

08 Feb 00:54
Compare
Choose a tag to compare
  • Add reuseMaps prop (#1730)

v7.0.3

07 Feb 22:27
Compare
Choose a tag to compare
  • Fix Popup double onClose call (#1729)

v7.0.2

06 Feb 18:39
Compare
Choose a tag to compare
  • Fix: set default maxPitch to 60 (#1720)

v7.0.0

05 Feb 01:00
Compare
Choose a tag to compare

v7 is a complete rewrite of the library. It addresses many long-standing issues in v5 and v6 limited by legacy architecture decisions. The most notable results of this redesign are:

  • Performance: minimize the overhead of React, offer the same fast and smooth interaction as the native library
  • Lightweight: the ESM build size is reduced from 219k to 57k
  • Predictability: Components behave the same as their mapbox counterparts. Props are mapped 1:1 from the native options wherever appropriate. Almost all imperative APIs (flyTo, fitBounds etc.) can now be called directly without breaking the React binding.
  • Compatibility: first and third-party plugins! Directly use mapbox-gl-draw, mapbox-gl-geocoder, to name a few.
  • TypeScript compliant: the code base is now entirely written in TypeScript, and all types can be imported.

Visit the upgrade guide if you are trying to upgrade from v5 and v6.

v7.0.0-beta.1

27 Jan 01:58
Compare
Choose a tag to compare
v7.0.0-beta.1 Pre-release
Pre-release
  • Add mapLib API (#1703)
  • Support inline styling for all components (#1702)
  • Refactor Mapbox class (#1701)

v6.1.19

25 Jan 20:22
Compare
Choose a tag to compare
  • Add support for style prop in Marker (#1696)
  • Fix crash in React 18 StrictMode (#1680)
  • Update MapState type (#1626)

v5.3.19

25 Jan 20:16
Compare
Choose a tag to compare
  • Fix crash in React 18 StrictMode (#1680)
  • Update MapState type (#1626)
  • Add support for style prop in Marker (#1698)

v7.0.0-alpha.7

18 Jan 05:05
Compare
Choose a tag to compare
v7.0.0-alpha.7 Pre-release
Pre-release
  • Improve typing (#1695)
  • [v7] Fix popup className update in mapbox v1/maplibre (#1694)