- Breaking change :
onHover
is nowonMouseEnter
,onEndHover
is nowonMouseLeave
- 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 - Fix issue when unmounting all the features
setData
is not called and the features doesn't disappear. PR
- All the source code is now written in Typescript, you can now get the type definitions for each component in a Typescript environment.
- Implement the
Popup
and theMarker
Components using React. These components now keep track of the context.
- 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.
- Add GeoJSONLayer component to display a raw geojson
- Breaking change, zoom is now wrapped in an array so the map component can check for a reference equality of the value.
- 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
- 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