@cyclomedia/streetsmart-api 24.9.1-rc.0 → 24.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/esm/index.js +2 -2
- package/package.json +1 -1
- package/src/types/ObliqueViewer.d.ts +10 -0
- package/src/types/PanoramaViewer.d.ts +26 -7
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ Note the item below will just list some examples of the most frequently used met
|
|
|
32
32
|
> For all the available methods on the `StreetSmartApi` object and the individual viewer objects, please refer to the docs.
|
|
33
33
|
### Init
|
|
34
34
|
|
|
35
|
-
Please see the [official docs](https://streetsmart.cyclomedia.com/api/
|
|
35
|
+
Please see the [official docs](https://streetsmart.cyclomedia.com/api/v24.9/documentation/#init) or the `ApiOptions`
|
|
36
36
|
type for more information about the options.
|
|
37
37
|
|
|
38
38
|
```ts
|
|
@@ -57,7 +57,7 @@ await StreetSmartApi.init({
|
|
|
57
57
|
### Open viewer
|
|
58
58
|
|
|
59
59
|
After the call to `init` has successfully resolved, one or more viewers can be opened using the `open` function.
|
|
60
|
-
Please check out the [official docs](https://streetsmart.cyclomedia.com/api/
|
|
60
|
+
Please check out the [official docs](https://streetsmart.cyclomedia.com/api/v24.9/documentation/#open).
|
|
61
61
|
|
|
62
62
|
```ts
|
|
63
63
|
import { StreetSmartApi, ViewerType } from "@cyclomedia/streetsmart-api";
|
|
@@ -130,7 +130,7 @@ try {
|
|
|
130
130
|
### Destroy
|
|
131
131
|
|
|
132
132
|
For more information please refer to
|
|
133
|
-
the [official docs](https://streetsmart.cyclomedia.com/api/
|
|
133
|
+
the [official docs](https://streetsmart.cyclomedia.com/api/v24.9/documentation/#destroy)
|
|
134
134
|
|
|
135
135
|
```ts
|
|
136
136
|
import {StreetSmartApi} from "@cyclomedia/streetsmart-api";
|
|
@@ -147,5 +147,5 @@ await StreetSmartApi.destroy({
|
|
|
147
147
|
|
|
148
148
|
#### What API functions are available?
|
|
149
149
|
|
|
150
|
-
Please see the [docs](https://streetsmart.cyclomedia.com/api/
|
|
150
|
+
Please see the [docs](https://streetsmart.cyclomedia.com/api/v24.9/documentation/) for all available functions and methods.
|
|
151
151
|
|