Home

International Space Station tracker Async/Await

Display the coordinates and the country of the ISS
Leaflet | © OpenStreetMap contributors

Display the position of the ISS (International Space Station) on a map.
The map is created with leaflet.js (code already available in the script).
Also display the coordinates (rounded to 6 decimal places) and the country over which the ISS is located.

  1. Locate ISS
  2. Find the country over which the ISS flies
  3. Custom marker (optional)

const t=51.16095,e=4.96166,o=3,a=L.map("map").setView([0,0],o),p=L.marker([0,0]).addTo(a);L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(a),p.setLatLng([t,e]),a.setView([t,e],a.getZoom());
//# sourceMappingURL=iss.js.map