location.GeocodedLocation
A position location.geocode() found for an address, ready to center a map or measure a distance.
Verwendung
Find coordinates for an address.
Dieser Typ wird verwendet von location.geocode
// Find coordinates for an address.
import { location } from 'kuito';
const matches = await location.geocode('1 Infinite Loop, Cupertino');
matches[0]?.latitude; // 37.33, or [] with no matchTypdeklaration
export type GeocodedLocation = Position;Mitglieder 4
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
latitude | number | Ja | — |
longitude | number | Ja | — |
altitude | number | Ja | — |
accuracy | number | Ja | — |
Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.