We've found an API that allows us to find the location and names of different satellites in orbit. - https://sscweb.sci.gsfc.nasa.gov/WebServices/REST/#Get_Locations_POST
We'll see if we can use this in conjunction with our web app.
letdisplayLocation=document.querySelector("#location"); | |
if(navigator.geolocation) | |
setInterval(()=>navigator.geolocation.getCurrentPosition(location=>{ | |
displayLocation.textContent=`${location.coords.latitude}, ${location.coords.longitude}`; | |
}),250); | |
else | |
displayLocation.textContent="You need to give this website permission to use your GPS" |
I DON'T HAVE PERMISSION! HELP!
Please stand by.
First time participating in a hackathon - super excited! Let's do this!
The first step to any great project is a Github repo. https://github.com/TheFoxarmy/Woosh
Let's get down to buisness...