Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dev:viewer:sdk:initialize_js [2020/05/15 11:29] reine |
dev:viewer:sdk:initialize_js [2023/10/03 13:07] (current) pieter [Loading the library] |
||
---|---|---|---|
Line 2: | Line 2: | ||
This page describes how to initialize the Javascript SDK in a web environment. | This page describes how to initialize the Javascript SDK in a web environment. | ||
+ | |||
+ | <note warning> | ||
+ | By downloading and using the Orbit 3DM Viewer SDK, you agree with the terms of use on the development and usage of Orbit GT's 3DM Viewer SDK: \\ | ||
+ | [[https:// | ||
+ | </ | ||
===== Loading the library ===== | ===== Loading the library ===== | ||
- | |||
- | <note warning> | ||
The library is compiled as a UMD (universal module definition) library and can as such be used in different javascript environments. \\ | The library is compiled as a UMD (universal module definition) library and can as such be used in different javascript environments. \\ | ||
- | It can be referenced by using this URL : **< | + | It can be referenced by using this URL : **< |
+ | |||
+ | __Note__: Before version 23.7.0, the name of the javascript file was '' | ||
+ | |||
+ | === Versions === | ||
Replace **< | Replace **< | ||
- | For example to use SDK version | + | For example, to use SDK version |
+ | The following dynamic versions are available : | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | It is strongly advised to keep the referenced version of the Viewer SDK within your Plugin up to date. \\ | ||
+ | Forward compatibility (using an older version of the 3DM Viewer SDK to connect with a newer backed Publisher or Cloud) is not guaranteed. | ||
+ | |||
+ | In the proof-of-concept Orbit 3DM Viewer Plugin for ArcGIS Online, you can see the 3DM Viewer SDK in use: \\ ../ | ||
===== Usage in a document context ===== | ===== Usage in a document context ===== | ||
Line 22: | Line 37: | ||
Add the following script tag to your application. | Add the following script tag to your application. | ||
- | Example for SDK version | + | Current stable release |
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Specific named version, e.g. 23.7.0 | ||
< | < | ||
< | < | ||
< | < | ||
- | < | + | < |
</ | </ | ||
</ | </ | ||
Line 41: | Line 65: | ||
< | < | ||
< | < | ||
- | <script type=" | + | <script type=" |
</ | </ | ||
< | < |
Last modified:: 2020/05/15 11:29