How to use the download/cont_pga.json 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 / shared / map-overlay / shakemap-pga-overlay.ts View on Github external
getUrl: function(product: any) {
    if (product === null) {
      return null;
    }

    return product.contents['download/cont_pga.json']
      ? product.contents['download/cont_pga.json'].url
      : null;
  },
github usgs / earthquake-eventpages / src / app / shared / map-overlay / shakemap-pga-overlay.ts View on Github external
getUrl: function(product: any) {
    if (product === null) {
      return null;
    }

    return product.contents['download/cont_pga.json']
      ? product.contents['download/cont_pga.json'].url
      : null;
  },