agvmap-react 0.0.21 → 0.0.22
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 +18 -0
- package/dist/agvmap-react.js +6567 -6553
- package/dist/agvmap-react.umd.cjs +95 -95
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,6 +28,24 @@ VITE_AGV_API_PASSWORD=your_password
|
|
|
28
28
|
4. run `yarn dev` to start the development server
|
|
29
29
|
5. goto `localhost:3000` and you shall see the app running.
|
|
30
30
|
|
|
31
|
+
### USage example
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
<AgvMap
|
|
35
|
+
configs={{
|
|
36
|
+
VITE_MAPTILER_ACCESS_KEY: your-value,
|
|
37
|
+
VITE_SENTINAL_HUB_CLIENT_ID: your-value,
|
|
38
|
+
VITE_SENTINAL_HUB_CLIENT_SECRET: your-value,
|
|
39
|
+
VITE_SENTINAL_HUB_WMTS_ID: your-value,
|
|
40
|
+
}}
|
|
41
|
+
|
|
42
|
+
requestHeaders={{
|
|
43
|
+
Authentication: your-value
|
|
44
|
+
}}
|
|
45
|
+
|
|
46
|
+
>
|
|
47
|
+
```
|
|
48
|
+
|
|
31
49
|
## Project Goal
|
|
32
50
|
|
|
33
51
|
Implement a map component with custom layers fetched from a REST API, to be integrated into a dashboard for visualization and analysis.
|