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 [2023/02/17 14:00]
pieter [Loading the library]
dev:viewer:sdk:initialize_js [2023/10/03 13:07] (current)
pieter [Loading the library]
Line 13: Line 13:
 It can be referenced by using this URL : **<nowiki>https://cdn.3dmapping.cloud/<version>/javascript/viewer_sdk_javascript.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.1.0, the name of the javascript file was ''orbitgt_3dm_sdk.js''.+__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 23.1.0 : <nowiki>https://cdn.3dmapping.cloud/23.1.0/javascript/viewer_sdk_javascript.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 usage of the 3DM Viewer SDK here: \\ ../widgets/Orbit 3D Mapping Widget/Orbit3DM.js+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 31: Line 37:
 Add the following script tag to your application. Add the following script tag to your application.
  
 +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/23.1.0/javascript/viewer_sdk_javascript"></script>+   <script type="text/javascript" src="https://cdn.3dmapping.cloud/23.7.0/javascript/viewer_sdk_javascript"></script>
  </head>  </head>
 </html> </html>
Line 49: Line 65:
 <html> <html>
   <head>   <head>
-    <script type="text/javascript" src="https://cdn.3dmapping.cloud/23.1.0/javascript/viewer_sdk_javascript.js"></script>+    <script type="text/javascript" src="https://cdn.3dmapping.cloud/stable/javascript/viewer_sdk_javascript.js"></script>
   </head>   </head>
   <body>   <body>
 
Last modified:: 2023/02/17 14:00