Skip to content

Commit

Permalink
Implement moving radar into location search
Browse files Browse the repository at this point in the history
  • Loading branch information
ALEEF02 committed Sep 27, 2022
1 parent f15bec3 commit f26c83a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ <h3>Radar</h3>
</div>
<div class="credits">
<p>
Version 3.8.0:
Version 3.8.1:
<a href="https://github.com/ALEEF02/lfweather/releases" id="changelogLink" onclick="trackOutboundLink('https://github.com/ALEEF02/lfweather/releases'); return false;">
Changelog
</a>
Expand Down
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f26c83a

Please sign in to comment.