WebIDLpedia

GeolocationCoordinates interface

Definition

Geolocation defines GeolocationCoordinates



[Exposed=Window, SecureContext]
interface GeolocationCoordinates {
  readonly attribute double accuracy;
  readonly attribute double latitude;
  readonly attribute double longitude;
  readonly attribute double? altitude;
  readonly attribute double? altitudeAccuracy;
  readonly attribute double? heading;
  readonly attribute double? speed;
  [Default] object toJSON();
};

Methods and attributes that return objects implementing GeolocationCoordinates

Referring IDL interfaces/dictionaries