CodingTrain / Intro-to-Data-APIs-JS

Working with Data and APIs in JavaScript
MIT License
756 stars 611 forks source link

Wrong unit measure displayed in 03_mapping_iss_exercise_scale_altitude #70

Open thejunglejim opened 1 year ago

thejunglejim commented 1 year ago

The altitude and velocity are in kilometers when returned with the Latitude and Longitude for the ISS position.

{ "name": "iss", "id": 25544, "latitude": -48.454232517203, "longitude": 139.35666682131, "altitude": 438.82147463579, "velocity": 27526.889664381, "visibility": "daylight", "footprint": 4602.0052932888, "timestamp": 1678852751, "daynum": 2460018.6660995, "solar_lat": -2.259260610592, "solar_lon": 122.47565276751, "units": "kilometers" }