@@ -61,7 +61,7 @@ import {
61
61
setOrigLayers ,
62
62
setPath ,
63
63
} from 'hslayers-ng/common/extensions' ;
64
- import { Subject , buffer , bufferTime , debounceTime , pairwise } from 'rxjs' ;
64
+ import { Subject , buffer , debounceTime , pairwise } from 'rxjs' ;
65
65
66
66
export class HsLayermanagerDataObject {
67
67
folders : any ;
@@ -799,7 +799,7 @@ export class HsLayerManagerService {
799
799
loadProgress . timer = new Subject ( ) ;
800
800
/**
801
801
* NOTE:
802
- * pairwise is a hacky solution for a cases when pending numbers get out of sync
802
+ * pairwise is a hacky solution for the cases when pending numbers get out of sync
803
803
* eg. everything has been loaded but pending value is not 0.
804
804
* Could not find the root cause of the problem
805
805
*/
@@ -838,7 +838,7 @@ export class HsLayerManagerService {
838
838
. pipe (
839
839
//Buffer emitions to an array until closing notifier emits.
840
840
buffer (
841
- // In case 250ms seconds has passed without another emit => close buffer and emit value
841
+ // In case 100ms has passed without another emit => close buffer and emit value
842
842
subject . pipe ( debounceTime ( 100 ) ) ,
843
843
) ,
844
844
)
@@ -871,7 +871,7 @@ export class HsLayerManagerService {
871
871
) ;
872
872
}
873
873
/**
874
- * Total is reseted only after 2 seconds of idle state.
874
+ * Total is reset only after 2 seconds of idle state.
875
875
* Panning sooner will make a progress bar UI animation to jump or 'backpaddle' unnecessarily.
876
876
* Using 0 instead of 100 (when loading ended) prevents that
877
877
*/
0 commit comments