|
|
@@ -16,11 +16,11 @@ import {FieldService} from './field.service';
|
|
|
import {ZonesService} from './zones.service';
|
|
|
import {imageWmsTLayer, imageWmsTSource} from './image-wms-t-layer';
|
|
|
|
|
|
-export type Index = 'EVI' | 'RVI4S1';
|
|
|
+export type Index = 'EVI' | 'NDVI';
|
|
|
|
|
|
@Injectable({providedIn: 'root'})
|
|
|
export class CalculatorService {
|
|
|
- AVAILABLE_PRODUCTS = ['EVI', 'RVI4S1'] as const;
|
|
|
+ AVAILABLE_PRODUCTS = ['EVI', 'NDVI'] as const;
|
|
|
BLUR_MIN_VALUE = 0 as const;
|
|
|
BLUR_MAX_VALUE = 5 as const;
|
|
|
MIN_LPIS_VISIBLE_ZOOM = 15 as const;
|
|
|
@@ -76,6 +76,7 @@ export class CalculatorService {
|
|
|
*/
|
|
|
async getDates({product}: {product: Index}) {
|
|
|
this.availableDates = undefined;
|
|
|
+ this.selectedDateCalendar = null;
|
|
|
this._datesLoading = true;
|
|
|
try {
|
|
|
const data = await this.httpClient
|