Skip to content

Commit 9b5264e

Browse files
authored
Update README.md
Fixed reported issues
1 parent 7f6da4f commit 9b5264e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ To use Leaflet in Angular project, you need to install depencency packages:
2828
1. ```npm i --s leaflet``` - Leaflet package.
2929
2. ```npm i --s @asymmetrik/ngx-leaflet``` - Leaflet wrapper for Angular. Provides flexible and extensible components for integrating Leaflet into Angular project.
3030

31-
Because we are using TypeScript inside Angular project, you should install types for Leaflet ```npm i @types\leaflet```.
31+
Because we are using TypeScript inside Angular project, you should install types for Leaflet ```npm i --s @types\leaflet```.
3232

3333
After the installation proces, you must implement Leaflet inside our application:
3434
1. Add Leaflet style into application, inside ```angular.json``` add ```leaflet.css``` file:
@@ -44,7 +44,7 @@ After the installation proces, you must implement Leaflet inside our application
4444
```
4545
2. Before you are starting to use Leaflet inside application, you must import Leaflet module inside ```app.module.ts``` or inside module you want to use it:
4646
```
47-
import { LeafletModule } from '@my-project/ngx-leaflet';
47+
import { LeafletModule } from '@asymmetrik/ngx-leaflet';
4848
...
4949
imports: [
5050
...

0 commit comments

Comments
 (0)