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 [2022/08/22 14:41] jeroen |
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. | ||
- | |||
- | ===== Loading the library ===== | ||
<note warning> | <note warning> | ||
Line 9: | Line 7: | ||
[[https:// | [[https:// | ||
</ | </ | ||
+ | |||
+ | ===== Loading the library ===== | ||
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 24: | 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 43: | Line 65: | ||
< | < | ||
< | < | ||
- | <script type=" | + | <script type=" |
</ | </ | ||
< | < |
Last modified:: 2022/08/22 14:41