Skip to content

Commit

Permalink
fix references to maplibre-gl package in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kochis committed Jul 28, 2023
1 parent 5ec1c40 commit 29eb24a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Follow the instructions below for installing the latest version, and any updates

The Radar JS SDK now has a dependency on [maplibre-gl-js](https://github.com/maplibre/maplibre-gl-js) to power Radar Maps functionality. This is included as a `peerDependency` in the project, so if you're installing the Radar SDK as an ES Module, you'll need to install MapLibre as an additional package.
```bash
npm install --save radar-sdk-js maplibre-gl[email protected]
npm install --save radar-sdk-js maplibre-gl
```

### Initialization
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@

> **Note:** The Radar JS SDK has a peer depdendency on [maplibre-gl-js](https://github.com/maplibre/maplibre-gl-js).
Add the `radar-sdk-js` and `maplibre-gl-js` packages
Add the `radar-sdk-js` and `maplibre-gl` packages
```bash
# with npm
npm install --save radar-sdk-js maplibre-gl-js
npm install --save radar-sdk-js maplibre-gl

# with yarn
yarn add radar-sdk-js maplibre-gl-js
yarn add radar-sdk-js maplibre-gl
```

Then import as an ES Module in your project
Expand Down

0 comments on commit 29eb24a

Please sign in to comment.