<commit_before>import { Injectable, OnDestroy, OnInit } from '@angular/core';
import { take } from "rxjs/operators";
import { Store } from "@ngrx/store";
import { selectActiveMapId } from "@ansyn/map-facade";
import { BBOX, bboxFromGeoJson, ImageryCommunicatorService } from '@ansyn/imagery';


@Injectable({
	providedIn: 'root'
})
export class OverlayOutOfBoundsService implements OnInit, OnDestroy {

	constructor(protected communicatorService: ImageryCommunicatorService) {
	}

	ngOnInit(): void {
	}

	ngOnDestroy(): void {
	}

	backToExtent(mapId: string, extent: BBOX): void {
		const communicator = this.communicatorService.provide(mapId);
		communicator.ActiveMap.fitToExtent(extent).pipe(take(1)).subscribe();
	}
}
<commit_msg>back to extent on not georegistered overlay (#3584)<commit_after>import { Injectable, OnDestroy, OnInit } from '@angular/core';
import { take } from 'rxjs/operators';
import { BBOX, ImageryCommunicatorService } from '@ansyn/imagery';


@Injectable({
	providedIn: 'root'
})
export class OverlayOutOfBoundsService implements OnInit, OnDestroy {

	constructor(protected communicatorService: ImageryCommunicatorService) {
	}

	ngOnInit(): void {
	}

	ngOnDestroy(): void {
	}

	backToExtent(mapId: string, extent: BBOX): void {
		const communicator = this.communicatorService.provide(mapId);
		communicator?.ActiveMap?.fitToExtent(extent).pipe(take(1)).subscribe();
	}
}

{'fraction_non_alphanumeric': 0.12758374910905204, 'fraction_numerical': 0.0042765502494654314, 'mean_word_length': 6.163265306122449, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '683530', 'n_tokens_mistral': 482, 'n_tokens_neox': 452, 'n_words': 96}