Releases: visgl/react-map-gl
Releases · visgl/react-map-gl
v2.0.3
Version 2.0.3 (May 18, 2017)
New Props
v2.0.2
v2.0.1
v2.0.0
Version 2.0.0 (Jan 17, 2017)
Reasons for the major version bump
- We updated to
mapbox-gl
0.31.0 which introduced flow types as well as having
a hard dependency on Node >= v4. We now assume that you are on Node >= v4
and npm >= v3. - We want >= v2.0.0 of
react-map-gl
to continue trackingmapbox-gl
updates
as closely as possible. This means minor / patch updates will be published
more frequently. - This also marks the start of more aggressive development on
react-map-gl
and we will start rolling out bigger updates in the coming months.
New Features & Updates
- Bump
mapbox-gl
to v0.31.0 - Add
maxZoom
prop and defaults to20
- Add
onLoad
event handler - Add
onClick
prop handler (#140)
Fixes
- Ensure fitBounds doesn't return NaN zoom value (#159)
- Use 'changedTouches' for 'touchend' / 'touchcancel' events (#164)
- Typo fix in draggable-points overlay (#178)
- Remove mapbox-gl's
Point
dependency from map-interactions. (#161)
Miscellaneous
- Added more info about usage with Webpack in README