From 986bf4348a9f2fa5a732a8763aa80798b8511c02 Mon Sep 17 00:00:00 2001 From: Connor H <43685307+MapGuy11@users.noreply.github.com> Date: Tue, 14 Sep 2021 18:51:53 -0400 Subject: [PATCH] Update radar.js --- webroot/js/radar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webroot/js/radar.js b/webroot/js/radar.js index ac9d3aa..25892d8 100644 --- a/webroot/js/radar.js +++ b/webroot/js/radar.js @@ -47,7 +47,7 @@ function Radar(divIDin, intervalHoursIn, zoomIn, latitudeIn, longitudeIn, withSa zoomOffset: -1 }).addTo(map); if (withSat == true) { - $.getJSON("https://api.weather.com/v3/TileServer/series/productSet/PPAcore?filter=satrad&apiKey=" + api_key, function(data) { + $.getJSON("https://api.weather.com/v3/TileServer/series/productSet?filter=satrad&apiKey=" + api_key, function(data) { for (var i = 0; i < data.seriesInfo.satrad.series.length; i++) { timeLayers.push( L.tileLayer("https://api.weather.com/v3/TileServer/tile/satrad?ts="+ data.seriesInfo.satrad.series[i].ts +"&xyz={x}:{y}:{z}&apiKey=" + api_key, { @@ -60,7 +60,7 @@ function Radar(divIDin, intervalHoursIn, zoomIn, latitudeIn, longitudeIn, withSa }); }); } else { - $.getJSON("https://api.weather.com/v3/TileServer/series/productSet/PPAcore?filter=radar&apiKey=" + api_key, function(data) { + $.getJSON("https://api.weather.com/v3/TileServer/series/productSet?filter=radar&apiKey=" + api_key, function(data) { for (var i = 0; i < data.seriesInfo.radar.series.length; i++) { timeLayers.push( L.tileLayer("https://api.weather.com/v3/TileServer/tile/radar?ts="+ data.seriesInfo.radar.series[i].ts +"&xyz={x}:{y}:{z}&apiKey=" + api_key, {