UNPKG

2.84 kBMarkdownView Raw
1## Above 2.0.0
2
3See [release notes](https://github.com/alex3165/react-mapbox-gl/releases)
4
5## 2.0.* (June 2017)
6### Breaking changes
7- `ReactMapboxGl` is now a factory that return a React Component, see documentation on how to use it
8
9### Feature
10- `Feature` component has a `draggable` property
11- The map component returned by the factory accept all the events
12- Listen events only on the concerned `Layer`, should improve performances
13
14### Bug fixes
15- `Cluster` component bugs have been fixed, it is tested and should behave as expected
16- Fix issue when using `text-align: center` on a parent tag of the map
17- Fix wrong unmounting of the map
18- Fix `Layer` and `GeoJsonLayer` when changing the style of the map
19
20### Others
21- Improvement of the documentation
22- Brand new website for the examples with more examples
23- Add more tests
24- Prettify all the source files
25- Update dependencies
26
27## 1.4.0 (March 14 2017)
28
29- Breaking change : `onHover` is now `onMouseEnter`, `onEndHover` is now `onMouseLeave`
30- 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)
31- 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)
32
33## 1.0.0 (February 13 2017)
34
35- All the source code is now written in Typescript, you can now get the type definitions for each component in a Typescript environment.
36
37## 0.19.0 (December 12 2016)
38
39- Implement the `Popup` and the `Marker` Components using React. These components now keep track of the context.
40
41## 0.15.0 (October 23 2016)
42
43- 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
44- Improve the examples with a navigation to select one.
45- Fix a major issue when removing a layer with a sourceId.
46
47## 0.11.0 (September 8 2016)
48
49- Add GeoJSONLayer component to display a raw geojson
50
51## 0.8.0 (July 5 2016)
52
53- Breaking change, zoom is now wrapped in an array so the map component can check for a reference equality of the value.
54
55## 0.7.1 (June 16 2016)
56
57- Update API documentation
58- A change of the style geojson passed down to the map component will update the style of the map itself using mapbox `setStyle`
59- Get rid of `lodash` for internal methods and smaller packages
60
61
62## 0.7.0 (June 15 2016)
63
64- Add `layerOptions` property to Layer component
65- Layer can use external source : #22
66- Add Layer with external source to all-shape example
67- `onStyleLoad` callback is now called before childrens components are rendered
68- Update mapbox-gl to version 0.20.0
69- Add properties property to Feature component