You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ To use Leaflet in Angular project, you need to install depencency packages:
28
28
1.```npm i --s leaflet``` - Leaflet package.
29
29
2.```npm i --s @asymmetrik/ngx-leaflet``` - Leaflet wrapper for Angular. Provides flexible and extensible components for integrating Leaflet into Angular project.
30
30
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```.
32
32
33
33
After the installation proces, you must implement Leaflet inside our application:
@@ -44,7 +44,7 @@ After the installation proces, you must implement Leaflet inside our application
44
44
```
45
45
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:
46
46
```
47
-
import { LeafletModule } from '@my-project/ngx-leaflet';
47
+
import { LeafletModule } from '@asymmetrik/ngx-leaflet';
0 commit comments