Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:viewer:sdk:initialize_js [2022/08/22 14:45]
jeroen [Loading the library]
dev:viewer:sdk:initialize_js [2023/10/03 13:07] (current)
pieter [Loading the library]
Line 11: Line 11:
  
 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 : **<nowiki>https://cdn.3dmapping.cloud/<version>/javascript/orbitgt_3dm_sdk.js</nowiki>**+It can be referenced by using this URL : **<nowiki>https://cdn.3dmapping.cloud/<version>/javascript/viewer_sdk_javascript.js</nowiki>** 
 + 
 +__Note__: Before version 23.7.0, the name of the javascript file was ''orbitgt_3dm_sdk.js''
 + 
 +=== Versions ===
  
 Replace **<version>** by the actual version you want to use. \\  Replace **<version>** by the actual version you want to use. \\ 
-For example to use SDK version 20.9.0 : <nowiki>https://cdn.3dmapping.cloud/20.9.0/javascript/orbitgt_3dm_sdk.js</nowiki>+For exampleto use SDK version 23.7.0 : <nowiki>https://cdn.3dmapping.cloud/23.7.0/javascript/viewer_sdk_javascript.js</nowiki> 
 + 
 +The following dynamic versions are available :  
 +  * ''stable'' - The last released version 
 +  * ''beta'' - The version currently in development 
  
 It is strongly advised to keep the referenced version of the Viewer SDK within your Plugin up to date. \\ It is strongly advised to keep the referenced version of the Viewer SDK within your Plugin up to date. \\
-Forward compatibilityusing an older version of the 3DM Viewer SDK to connect with a newer backed Publisher or Cloudis not guaranteed. +Forward compatibility (using an older version of the 3DM Viewer SDK to connect with a newer backed Publisher or Cloudis not guaranteed.  
 + 
 +In the proof-of-concept Orbit 3DM Viewer Plugin for ArcGIS Online, you can see the 3DM Viewer SDK in use: \\ ../widgets/Orbit 3D Mapping Widget/Orbit3DM.js
  
 ===== Usage in a document context ===== ===== Usage in a document context =====
Line 27: Line 37:
 Add the following script tag to your application. Add the following script tag to your application.
  
-Example for SDK version 20.9.0+Current stable release 
 +<code> 
 +<html> 
 + <head> 
 +   <script type="text/javascript" src="https://cdn.3dmapping.cloud/stable/javascript/viewer_sdk_javascript"></script> 
 + </head> 
 +</html> 
 +</code> 
 + 
 +Specific named version, e.g. 23.7.0
 <code> <code>
 <html> <html>
  <head>  <head>
-   <script type="text/javascript" src="https://cdn.3dmapping.cloud/20.9.0/javascript/orbitgt_3dm_sdk.js"></script>+   <script type="text/javascript" src="https://cdn.3dmapping.cloud/23.7.0/javascript/viewer_sdk_javascript"></script>
  </head>  </head>
 </html> </html>
Line 46: Line 65:
 <html> <html>
   <head>   <head>
-    <script type="text/javascript" src="https://cdn.3dmapping.cloud/<version>/javascript/orbitgt_3dm_sdk.js"></script>+    <script type="text/javascript" src="https://cdn.3dmapping.cloud/stable/javascript/viewer_sdk_javascript.js"></script>
   </head>   </head>
   <body>   <body>
 
Last modified:: 2022/08/22 14:45