Skip to content

Releases: alex3165/react-mapbox-gl

GeoJson mouse events

02 Sep 13:28
Compare
Choose a tag to compare

Add mouse events to GeoJson layer see documentation

  • Fix #325
  • Fix #312
  • Update supercluster to version 3.0.0

Add getLeaves to Cluster components

16 Aug 08:30
Compare
Choose a tag to compare
  • getLeaves() return Cluster children of a cluster, with pagination support: limit is the number of points to return (set to Infinity for all points, default to 10), and offset is the amount of points to skip (for pagination).

Add features, breaking changes and bug fixes

17 Jun 12:04
Compare
Choose a tag to compare

Breaking changes

  • ReactMapboxGl is now a factory that return a React Component, see documentation on how to use it

Feature

  • Feature component has a draggable property
  • The map component returned by the factory accept all the events
  • Listen events only on the concerned Layer, should improve performances

Bug fixes

  • Cluster component bugs have been fixed, it is tested and should behave as expected
  • Fix issue when using text-align: center on a parent tag of the map
  • Fix wrong unmounting of the map
  • Fix Layer and GeoJsonLayer when changing the style of the map

Others

  • Improvement of the documentation
  • Brand new website for the examples with more examples
  • Add more tests
  • Prettify all the source files
  • Update dependencies

RotationControl and bugfixes

30 May 15:51
Compare
Choose a tag to compare

Bug fixes / dependencies improvements

10 May 21:04
Compare
Choose a tag to compare
  • Fix bug when updating the style of the map: #219 thanks @davecranwell
  • Add back deep-equal, reduce-object, supercluster as dependencies.

v1.9.0

21 Apr 08:12
Compare
Choose a tag to compare

This release include the following changes:

  • Move all dependencies to peer dependencies, you have to make sure these libraries are dependencies of your project :
    "deep-equal": "^1.0.1",
    "mapbox-gl": "^0.36.0",
    "reduce-object": "^0.1.3",
    "supercluster": "^2.3.0"
  • Fix a bug when unmounting the map: #178
  • Update some dev dependencies and mapbox-gl

Convert project to typescript

13 Feb 16:01
Compare
Choose a tag to compare

This release convert the source files to typescript

Add Source and Cluster component

18 Jan 08:59
Compare
Choose a tag to compare

This release include 2 new components :

  • Source component is a first step to a complete redesign of the Layer component, the idea is to decouple source and layer in order to add multiple sources to the map.
  • Cluster component group multiple Html Marker togethers, it is using supercluster as a dependency to generate the cluster of points.

Change Popup and Marker implementation

12 Dec 22:40
Compare
Choose a tag to compare

This release include some breaking changes for the Popup and the Marker API, these are now standalone layer projected using map.project instead of using the native Popup and Marker API of Mapbox-gl. This was necessary to keep track of the context down to the nested components.

v0.10.0 - The empire strikes back!

02 Sep 16:03
Compare
Choose a tag to compare

This release doesn't add great new features 😞 , but mainly cleans up the structure of the project, adds vendoring for mapbox-gl, and automatically loads up the required CSS code. 🎉

  • Vendoring for Mapbox GL was added with Webpack (Does server side rendering work now?)
  • The example was extracted into a sub folder
  • package.json was cleaned up
  • CSS code is being injected into the body's head automatically

Is that it? 😢 Yes, unfortunately for now that's it. But this projects is getting closer to a 1.0 release!

-- @philpl 🐱