How to use the download/urat_pga.jpg function in download

To help you get started, we’ve selected a few download examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github usgs / earthquake-eventpages / src / app / shakemap / uncertainty / uncertainty.component.ts View on Github external
onProduct (product: any): void {
    if (product == null ||
          !product.contents['download/urat_pga.jpg']) {
      this.imageUrl = null;
      return;
    }
    const image = product.contents['download/urat_pga.jpg'];
    this.imageUrl = image.url;
  }
github usgs / earthquake-eventpages / src / app / shakemap / uncertainty / uncertainty.component.ts View on Github external
onProduct (product: any): void {
    if (product == null ||
          !product.contents['download/urat_pga.jpg']) {
      this.imageUrl = null;
      return;
    }
    const image = product.contents['download/urat_pga.jpg'];
    this.imageUrl = image.url;
  }