@cyclomedia/streetsmart-api 26.3.1 → 26.4.0-rc.0
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/dist/esm/index.js +53 -45
- package/package.json +1 -1
- package/src/types/ObliqueViewer.d.ts +11 -0
package/package.json
CHANGED
|
@@ -171,6 +171,17 @@ declare module '@cyclomedia/streetsmart-api' {
|
|
|
171
171
|
*/
|
|
172
172
|
toggleOverlay(layer: Layer): void;
|
|
173
173
|
|
|
174
|
+
/**
|
|
175
|
+
* Returns the same payload as IMAGE_CHANGE for the currently shown image.
|
|
176
|
+
* Use this after StreetSmartApi.open() if the first IMAGE_CHANGE was missed.
|
|
177
|
+
*/
|
|
178
|
+
getImageChangeDetails(): {
|
|
179
|
+
footprint: any;
|
|
180
|
+
footprintCentre: any;
|
|
181
|
+
rotation: number;
|
|
182
|
+
srs: string;
|
|
183
|
+
} | null;
|
|
184
|
+
|
|
174
185
|
on<T extends ObliqueViewerEvents | SharedViewerEvents>(type: T, callback: ObliqueViewerEventCallback<T>): this;
|
|
175
186
|
|
|
176
187
|
off<T extends ObliqueViewerEvents | SharedViewerEvents>(type: T, callback: ObliqueViewerEventCallback<T>): this;
|