@smarterplan/ngx-smarterplan-core 1.2.26 → 1.2.27
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/esm2020/lib/services/matterport.service.mjs +11 -11
- package/fesm2015/smarterplan-ngx-smarterplan-core.mjs +10 -10
- package/fesm2015/smarterplan-ngx-smarterplan-core.mjs.map +1 -1
- package/fesm2020/smarterplan-ngx-smarterplan-core.mjs +10 -10
- package/fesm2020/smarterplan-ngx-smarterplan-core.mjs.map +1 -1
- package/lib/services/matterport.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NgZone } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { MattertagData } from '../mattertagData';
|
|
5
5
|
import { DbObjectType, IObject3D, MattertagActionMode, POI, PoiType, SpModule } from '../types.service';
|
|
@@ -39,6 +39,7 @@ declare global {
|
|
|
39
39
|
}
|
|
40
40
|
export declare class MatterportService {
|
|
41
41
|
private router;
|
|
42
|
+
private activeRoute;
|
|
42
43
|
private visibilityService;
|
|
43
44
|
private ngZone;
|
|
44
45
|
private slots;
|
|
@@ -104,7 +105,7 @@ export declare class MatterportService {
|
|
|
104
105
|
pointerLeftClickHandler: () => void;
|
|
105
106
|
pointerRightClickHandler: (e: any) => void;
|
|
106
107
|
pointerMiddleClickHandler: (e: any) => void;
|
|
107
|
-
constructor(config: Config, router: Router, visibilityService: BaseVisibilityService, ngZone: NgZone);
|
|
108
|
+
constructor(config: Config, router: Router, activeRoute: ActivatedRoute, visibilityService: BaseVisibilityService, ngZone: NgZone);
|
|
108
109
|
/**
|
|
109
110
|
* Initializes Matterport and all listeners/data
|
|
110
111
|
* @param tagService BaseTagService (to inject html)
|