4.0.0-beta.7

This commit is contained in:
Xiaoji Chen 2018-11-05 10:55:43 -08:00
parent 349f3b5894
commit feeb243fe3
3 changed files with 11 additions and 4 deletions

View File

@ -2,6 +2,12 @@
# Version 4.0.0 Prereleases
## 4.0.0-beta.7 (Nov 5, 2018)
- New interruption mode: UPDATE (#631)
- API audit round 2 (#652)
- Set up flow (#651)
## 4.0.0-beta.6 (Nov 2, 2018)
- Don't override visibility style when visible is true (#650)

View File

@ -19,11 +19,11 @@ React Components Suite for <a href="https://github.com/mapbox/mapbox-gl-js">Mapb
In addition to exposing MapboxGL functionality to React apps, react-map-gl also integrates seamlessly with [deck.gl](https://uber.github.io/deck.gl).
### Before You Begin
This library provides convenient wrappers around initializing and (to some degree) tracking the state of a Mapbox WebGL map. However, because most of the functionality of Mapbox's JS API depends on the use of HTML5 canvases and WebGL, which React is not built to manipulate, the React component does not mirror all the functionality of Mapbox GL JS's Map class. You may access the native Mapbox API exposed by the `getMap()` function in this library. However, proceed with caution as calling the native APIs may break the connection between the React layer props and the underlying map state.
This library provides convenient wrappers around initializing and (to some degree) tracking the state of a Mapbox WebGL map. Because most of the functionality of Mapbox's JS API depends on the use of HTML5 canvases and WebGL, which React is not built to manipulate, the React component does not mirror all the functionality of Mapbox GL JS's Map class. You may access the native Mapbox API exposed by the `getMap()` function in this library. However, proceed with caution as calling the native APIs may break the connection between the React layer props and the underlying map state.
### Installation
Using `react-map-gl` requires `node >= v4` and `react >= 15.4`.
Using `react-map-gl` requires `react >= 16.3`.
```sh
npm install --save react-map-gl

View File

@ -1,7 +1,7 @@
{
"name": "react-map-gl",
"description": "A React wrapper for MapboxGL-js and overlay API.",
"version": "4.0.0-beta.6",
"version": "4.0.0-beta.7",
"keywords": [
"mapbox",
"mapbox-gl",
@ -24,7 +24,8 @@
},
"files": [
"src",
"dist"
"dist",
"README.md"
],
"scripts": {
"start": "(cd examples/main && (if [ ! -d 'node_modules' ]; then npm i; fi) && npm run start-local)",