purchase.component.ts 651 B

1234567891011121314151617181920212223242526
  1. import { Component, Input } from '@angular/core'
  2. import { Extent } from 'ol/extent'
  3. import { BcInfoService } from '../bc-info.service'
  4. @Component({
  5. selector: 'purchase',
  6. templateUrl: 'purchase.component.html'
  7. })
  8. export class Purchase {
  9. @Input() hash: string;
  10. @Input() timestamp: string;
  11. @Input() extent: Extent;
  12. @Input() amount: number;
  13. expanded: boolean = false;
  14. loadingData: boolean = false;
  15. constructor(bcInfoService: BcInfoService) {
  16. }
  17. onRequestData() {
  18. window.open("https://eo.lesprojekt.cz/produkty/S2/2020/S2A_MSIL2A_20200422T095031_N9999_R079_T33UXQ_20201127T165009_NDVI.tif");
  19. }
  20. }