@inovitas/infra3dapi 0.2.3 → 0.2.4

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
@@ -1,25 +1,25 @@
1
- # Installation
2
- ### NPM Package
3
- The api can be installed with npm as a package. To install it from the npm package repository just type:
4
- ```bash
5
- npm install @inovitas/infra3dapi
6
- ```
7
-
8
- ### CDN Download
9
- As alternative you can get the api from a CDN. To get the latest version add the following script into your html file:
10
- ```html
11
- <script src="https://cdn.jsdelivr.net/npm/@inovitas/infra3dapi@latest/infra3dapi.js"></script>
12
- ```
13
- We recommend to use a specific version in your project. To get a specific version use the following script and adjust the version to your version:
14
- ```html
15
- <script src="https://cdn.jsdelivr.net/npm/@inovitas/infra3dapi@0.1.0/infra3dapi.js"></script>
16
- ```
17
-
18
-
19
- # Core Concept
20
- 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 from the sdk. 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)).
21
-
22
-
23
- # Changelog
24
- ## 0.1.0 - 22.09.2023
1
+ # Installation
2
+ ### NPM Package
3
+ The api can be installed with npm as a package. To install it from the npm package repository just type:
4
+ ```bash
5
+ npm install @inovitas/infra3dapi
6
+ ```
7
+
8
+ ### CDN Download
9
+ As alternative you can get the api from a CDN. To get the latest version add the following script into your html file:
10
+ ```html
11
+ <script src="https://cdn.jsdelivr.net/npm/@inovitas/infra3dapi@latest/infra3dapi.js"></script>
12
+ ```
13
+ We recommend to use a specific version in your project. To get a specific version use the following script and adjust the version to your version:
14
+ ```html
15
+ <script src="https://cdn.jsdelivr.net/npm/@inovitas/infra3dapi@0.1.0/infra3dapi.js"></script>
16
+ ```
17
+
18
+
19
+ # Core Concept
20
+ 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 from the sdk. 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)).
21
+
22
+
23
+ # Changelog
24
+ ## 0.1.0 - 22.09.2023
25
25
  First MVP release of the new JavaScript API