DroneDeploy
Search…
CadOverlay.prepare
1
<!DOCTYPE html>
2
<html lang="en">
3
4
<head>
5
<meta charset="UTF-8">
6
<title>Document</title>
7
</head>
8
9
<body>
10
<h3 class="title sans">CadOverlay.preapre example</h3>
11
<span id="cadoverlay"></span>
12
<script>
13
const cadOverlayOutput = document.getElementById('cadoverlay');
14
15
new DroneDeploy({
16
version: 1
17
})
18
.then(function(dronedeployApi) {
19
return dronedeployApi.CadOverlay.prepare()
20
})
21
.then(function(id) {
22
cadOverlayOutput.innerHTML = `ID: ${id}`;
23
});
24
</script>
25
</body>
26
27
</html>
Copied!
Last modified 2yr ago
Copy link