@foodmarketmaker/mapag 0.0.27 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -8,27 +8,6 @@ Angular library for interactive maps with advanced geospatial features.
|
|
|
8
8
|
npm install @foodmarketmaker/mapag
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
## Asset Setup
|
|
12
|
-
|
|
13
|
-
This library includes map preview images that need to be available in your application's assets folder.
|
|
14
|
-
|
|
15
|
-
### Automatic Setup (Recommended)
|
|
16
|
-
|
|
17
|
-
The library includes a postinstall script that automatically copies assets to your project. The assets will be available at `assets/mapag/src/assets/`.
|
|
18
|
-
|
|
19
|
-
If the automatic setup fails, you can manually copy assets:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
npx mapag-copy-assets
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
### Manual Setup
|
|
26
|
-
|
|
27
|
-
If you need to manually copy the assets:
|
|
28
|
-
|
|
29
|
-
1. Copy files from `node_modules/@foodmarketmaker/mapag/src/assets/`
|
|
30
|
-
2. To your project's `src/assets/mapag/src/assets/` folder
|
|
31
|
-
|
|
32
11
|
## Usage
|
|
33
12
|
|
|
34
13
|
```typescript
|