Usage

Find coordinates for an address.

This type is used by location.geocode

tsx
// 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 match

Type declaration

ts
export type GeocodedLocation = Position;

Members 4

NameTypeRequiredDescription
latitudenumberYes—
longitudenumberYes—
altitudenumberYes—
accuracynumberYes—
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.