Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixed reported issues
  • Loading branch information
bpenovic authored Aug 22, 2023
1 parent 7f6da4f commit 9b5264e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ To use Leaflet in Angular project, you need to install depencency packages:
1. ```npm i --s leaflet``` - Leaflet package.
2. ```npm i --s @asymmetrik/ngx-leaflet``` - Leaflet wrapper for Angular. Provides flexible and extensible components for integrating Leaflet into Angular project.

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

After the installation proces, you must implement Leaflet inside our application:
1. Add Leaflet style into application, inside ```angular.json``` add ```leaflet.css``` file:
Expand All @@ -44,7 +44,7 @@ After the installation proces, you must implement Leaflet inside our application
```
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:
```
import { LeafletModule } from '@my-project/ngx-leaflet';
import { LeafletModule } from '@asymmetrik/ngx-leaflet';
...
imports: [
...
Expand Down

0 comments on commit 9b5264e

Please sign in to comment.