@cyclomedia/streetsmart-api 23.14.0 → 23.14.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 +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ import { ApiOptions } from "@cyclomedia/streetsmart-api"
|
|
|
33
33
|
## API
|
|
34
34
|
#### Init
|
|
35
35
|
|
|
36
|
-
Please see the [official docs](https://streetsmart.cyclomedia.com/api/v23.
|
|
36
|
+
Please see the [official docs](https://streetsmart.cyclomedia.com/api/v23.14/documentation/#init) or the `ApiOptions` type for more information about the options.
|
|
37
37
|
|
|
38
38
|
```ts
|
|
39
39
|
import StreetSmartApi from "@cyclomedia/streetsmart-api";
|
|
@@ -53,7 +53,7 @@ StreetSmartApi.init({
|
|
|
53
53
|
|
|
54
54
|
#### Open Panorama viewer
|
|
55
55
|
|
|
56
|
-
Please check out the [official docs](https://streetsmart.cyclomedia.com/api/v23.
|
|
56
|
+
Please check out the [official docs](https://streetsmart.cyclomedia.com/api/v23.14/documentation/#open).
|
|
57
57
|
|
|
58
58
|
```ts
|
|
59
59
|
import StreetSmartApi, {OpenViewerQuery} from "@cyclomedia/streetsmart-api";
|
|
@@ -75,7 +75,7 @@ StreetSmartApi.open("1681 broadway, New York NY", {
|
|
|
75
75
|
|
|
76
76
|
#### Destroy
|
|
77
77
|
|
|
78
|
-
For options and behavior please refer to the [official docs](https://streetsmart.cyclomedia.com/api/v23.
|
|
78
|
+
For options and behavior please refer to the [official docs](https://streetsmart.cyclomedia.com/api/v23.14/documentation/#destroy)
|
|
79
79
|
|
|
80
80
|
```ts
|
|
81
81
|
StreetSmartApi.destroy({
|
|
@@ -89,7 +89,7 @@ StreetSmartApi.destroy({
|
|
|
89
89
|
- [The Point Cloud Viewer or 3DNL viewer don't load](#the-pointcloud-viewer-or-3dnl-viewer-don't-load)
|
|
90
90
|
|
|
91
91
|
#### What API functions are available?
|
|
92
|
-
Please see the [docs](https://streetsmart.cyclomedia.com/api/v23.
|
|
92
|
+
Please see the [docs](https://streetsmart.cyclomedia.com/api/v23.14/documentation/) for all available functionality.
|
|
93
93
|
|
|
94
94
|
#### The PointCloud Viewer or 3DNL viewer don't load
|
|
95
95
|
Only the panorama and oblique viewer are working in this package.
|
package/dist/esm/index.js
CHANGED
|
@@ -63,7 +63,7 @@ function replaceDoubleSlashes(url) {
|
|
|
63
63
|
return url.replace(/([^:]\/)\/+/g, '$1');
|
|
64
64
|
}
|
|
65
65
|
function getStaticBaseUrl() {
|
|
66
|
-
return addTrailingSlash(replaceDoubleSlashes(`${"https://streetsmart.cyclomedia.com/api"}/v${formatVersionToMajorMinor("23.
|
|
66
|
+
return addTrailingSlash(replaceDoubleSlashes(`${"https://streetsmart.cyclomedia.com/api"}/v${formatVersionToMajorMinor("23.14.0")}`));
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
// @ts-ignore
|