From f26c83a15df22242b30a9a74f3a4e7eb2f1576ad Mon Sep 17 00:00:00 2001 From: ALEEF02 Date: Tue, 27 Sep 2022 11:57:53 -0400 Subject: [PATCH] Implement moving radar into location search --- index.html | 2 +- main.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index a911276..9f33345 100644 --- a/index.html +++ b/index.html @@ -427,7 +427,7 @@

Radar

- Version 3.8.0: + Version 3.8.1: Changelog diff --git a/main.js b/main.js index 8ccaabc..9591eb3 100644 --- a/main.js +++ b/main.js @@ -124,6 +124,7 @@ function addressToLat() { lat = geocodedResponse[0].lat; lon = geocodedResponse[0].lon; url = ('https://lfweather.herokuapp.com/forecast/' + lat + ',' + lon); + document.getElementById('map-embed-iframe').src = 'https://maps.darksky.net/@radar,' + lat + ',' + lon + ',10?domain=file%3A%2F%2F%2FC%3A%2FUsers%2Ffordf%2FDesktop%2Flfweather%2Findex.html&auth=1547925784_1597c1ace68e31ce860f03d19e60ca58&marker=' + lat + ',' + lon + '&embed=true&timeControl=false&fieldControl=false&defaultField=radar'; customLocation = true; geocode = 'forward'; getData(true);