Skip to content

Commit

Permalink
update for 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Sep 27, 2021
1 parent 9f7d731 commit 51711d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ npm --save install rlayers ol react react-dom
```

*OpenLayers* and *React* are peer dependencies and should be installed separately.
*OpenLayers* is supported from version 6.0.0.

*React* is supported from version 16.8.0.
*rlayers@1.0* supports 6.0 >= *OpenLayers* < 6.6
*rlayers@1.1* supports *OpenLayers* >= 6.6

*OpenLayers* >=6.6 includes native TypeScript bindings that supersede the previous *@types/ol* package. If you are using *OpenLayers* >=6.6 with TypeScript, you should follow the instructions on its release page for rendering it compatible with existing TypeScript projects: <https://github.com/openlayers/openlayers/releases/tag/v6.6.0>. The upcoming *rlayers 1.1* will switch to the native TS bindings, but it won't be compatible with previous *OpenLayers* version.
Currently the default install is *rlayers@1.0*, *rlayers@1.1* is available as *rlayers@next*

## Usage

Expand Down

0 comments on commit 51711d1

Please sign in to comment.