import { DATASET_EOCLOUD_ENVISAT_MERIS } from './dataset' ; import { Link , LinkType } from './const' ; import { AbstractSentinelHubV1OrV2Layer } from './AbstractSentinelHubV1OrV2Layer' ; export class EnvisatMerisEOCloudLayer extends AbstractSentinelHubV1OrV2Layer { public readonly dataset = DATASET_EOCLOUD_ENVISAT_MERIS ; public static makeLayer ( layerInfo , instanceId , layerId , evalscript , evalscriptUrl , title , description ) { return new EnvisatMerisEOCloudLayer ( { instanceId , layerId , evalscript , evalscriptUrl , title , description , } ) ; } protected getTileLinks ( tile ) { return [ { target : tile . pathFragment , type : LinkType . EOCLOUD , } , ] ; } }