Geolocation

Geographic coordinates with latitude, longitude, altitude, and accuracy.

Report an issue
common

Install

$ npx shadcn@latest add @open-types/geolocation

Source

export interface Geolocation {
  latitude: number;
  longitude: number;
  altitude?: number;
  accuracy?: number;
  heading?: number;
  speed?: number;
  timestamp?: number;
}
export interface Geolocation {
  latitude: number;
  longitude: number;
  altitude?: number;
  accuracy?: number;
  heading?: number;
  speed?: number;
  timestamp?: number;
}