@inovitas/infra3dapi 0.2.3 → 0.2.7
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 +62 -23
- package/infra3dapi.js +1 -1
- package/licenses.txt +95 -95
- package/package.json +1 -3
- package/assets/152236e4b4c8534afed0.png +0 -0
- package/assets/2f517e09eb2ca6650ff5.svg +0 -3717
- package/assets/4689f52cc96215721344.svg +0 -801
- package/assets/7a8b4f130182d19a2d7c.svg +0 -5034
- package/assets/9add04e74951db9d98c1.png +0 -0
- package/assets/d8e1835978d51b5c8624.png +0 -0
- package/assets/f804e6a2c78b6c3f2cb0.png +0 -0
package/README.md
CHANGED
|
@@ -1,25 +1,64 @@
|
|
|
1
|
-
# Installation
|
|
2
|
-
### NPM Package
|
|
3
|
-
The
|
|
4
|
-
```bash
|
|
5
|
-
npm install @inovitas/infra3dapi
|
|
6
|
-
```
|
|
7
|
-
|
|
8
|
-
### CDN Download
|
|
9
|
-
|
|
10
|
-
```html
|
|
11
|
-
<script src="https://cdn.jsdelivr.net/npm/@inovitas/infra3dapi@latest/infra3dapi.js"></script>
|
|
12
|
-
```
|
|
13
|
-
We recommend
|
|
14
|
-
```html
|
|
15
|
-
<script src="https://cdn.jsdelivr.net/npm/@inovitas/infra3dapi@0.1.0/infra3dapi.js"></script>
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
# Installation
|
|
2
|
+
### NPM Package
|
|
3
|
+
The API can be installed as a package using npm. To install it from the npm package repository, simply type:
|
|
4
|
+
```bash
|
|
5
|
+
npm install @inovitas/infra3dapi
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
### CDN Download
|
|
9
|
+
Alternatively, you can obtain the API from a CDN. To get the latest version, add the following script to your HTML file:
|
|
10
|
+
```html
|
|
11
|
+
<script src="https://cdn.jsdelivr.net/npm/@inovitas/infra3dapi@latest/infra3dapi.js"></script>
|
|
12
|
+
```
|
|
13
|
+
We recommend using a specific version in your project. To get a specific version, use the following script and adjust the version accordingly:
|
|
14
|
+
```html
|
|
15
|
+
<script src="https://cdn.jsdelivr.net/npm/@inovitas/infra3dapi@0.1.0/infra3dapi.js"></script>
|
|
16
|
+
```
|
|
17
|
+
**Note**: Please do not name the `<div>` in which the viewer is initialized as "infra3d" as this may cause internal conflicts.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# Core Concept
|
|
21
|
+
To use the API, you can call the init functions in infra3dapi. After loggin in and initializing the view (with [`manager.initView()`](classes/_inovitas_infra3dapi.manager.Manager.html#initView)), you will get a viewer object. This viewer object can then be used to add event-listeners to different events emitted by the viewer (like [`viewer.geoframechanged`](classes/_inovitas_infra3dsdk.Viewer.html#geoframechanged)) or to call some functions (like [`viewer.getRoutes()`](classes/_inovitas_infra3dsdk.Viewer.html#getRoutes) or [`viewer.movePosition()`](classes/_inovitas_infra3dsdk.Viewer.html#movePosition)).
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
# Changelog
|
|
21
25
|
|
|
26
|
+
## 0.2.7 - 04.04.2024
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
|
|
30
|
+
- Improved documentation
|
|
31
|
+
- Description of the event types
|
|
32
|
+
- Description of further settings
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- Adaptation to the existing examples
|
|
37
|
+
|
|
38
|
+
## 0.2.4 - 14.03.2024
|
|
39
|
+
|
|
40
|
+
### Bugfixes
|
|
41
|
+
|
|
42
|
+
- Troubleshooting with internal module
|
|
43
|
+
|
|
44
|
+
## 0.2.3 - 09.02.2024
|
|
45
|
+
|
|
46
|
+
### Added
|
|
47
|
+
|
|
48
|
+
- Demo Access Login
|
|
49
|
+
- Documenation
|
|
50
|
+
|
|
51
|
+
### Changed
|
|
52
|
+
|
|
53
|
+
- Adoption of adjustments to the UI base of infra3D Edit
|
|
54
|
+
|
|
55
|
+
### Bugfixes
|
|
56
|
+
|
|
57
|
+
- Various minor adjustments
|
|
58
|
+
|
|
59
|
+
## 0.2.0 - 30.01.2024
|
|
60
|
+
|
|
61
|
+
### Added
|
|
62
|
+
|
|
63
|
+
- Edit functionality
|
|
22
64
|
|
|
23
|
-
# Changelog
|
|
24
|
-
## 0.1.0 - 22.09.2023
|
|
25
|
-
First MVP release of the new JavaScript API
|