What information does the position.coords object contain when a geolocation request succeeds?
The position.coords object provides comprehensive location data: 1) latitude and longitude are the primary coordinates (in decimal degrees), 2) accuracy indicates the position accuracy in meters, 3) altitude represents meters above the WGS84 ellipsoid (may be null if unavailable), 4) altitudeAccuracy provides the altitude accuracy in meters (may be null), 5) heading gives the direction of travel in degrees clockwise from true north (may be null), 6) speed indicates velocity in meters per second (may be null), 7) These properties vary in availability depending on the device's capabilities and the current conditions, 8) While latitude, longitude, and accuracy are almost always available, the other properties might be null on devices without the necessary sensors or when the user isn't moving.