UNPKG

react-mapbox-gl

Version:
70 lines (47 loc) 2.84 kB
## Above 2.0.0 See [release notes](https://github.com/alex3165/react-mapbox-gl/releases) ## 2.0.* (June 2017) ### 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 ## 1.4.0 (March 14 2017) - Breaking change : `onHover` is now `onMouseEnter`, `onEndHover` is now `onMouseLeave` - Breaking change: `GEOJSONLayer` is not displaying all the layers in your geojson source, you have to specify which source to display by passing the correct props, see [note](https://github.com/alex3165/react-mapbox-gl/blob/master/docs/API.md#geojsonlayer) - Fix issue when unmounting all the features `setData` is not called and the features doesn't disappear. [PR](https://github.com/alex3165/react-mapbox-gl/pull/152) ## 1.0.0 (February 13 2017) - All the source code is now written in Typescript, you can now get the type definitions for each component in a Typescript environment. ## 0.19.0 (December 12 2016) - Implement the `Popup` and the `Marker` Components using React. These components now keep track of the context. ## 0.15.0 (October 23 2016) - Upgrade mapbox-gl from v0.21.0 to v0.25.1 and don't build the vendor anymore, react-mapbox-gl is now using mapbox-gl/dist/mapbox-gl.js bundle again - Improve the examples with a navigation to select one. - Fix a major issue when removing a layer with a sourceId. ## 0.11.0 (September 8 2016) - Add GeoJSONLayer component to display a raw geojson ## 0.8.0 (July 5 2016) - Breaking change, zoom is now wrapped in an array so the map component can check for a reference equality of the value. ## 0.7.1 (June 16 2016) - Update API documentation - A change of the style geojson passed down to the map component will update the style of the map itself using mapbox `setStyle` - Get rid of `lodash` for internal methods and smaller packages ## 0.7.0 (June 15 2016) - Add `layerOptions` property to Layer component - Layer can use external source : #22 - Add Layer with external source to all-shape example - `onStyleLoad` callback is now called before childrens components are rendered - Update mapbox-gl to version 0.20.0 - Add properties property to Feature component