GeocodedLocation
A position location.geocode() found for an address, ready to center a map or measure a distance.
Usage
Find coordinates for an address.
This type is used by 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 matchType declaration
export type GeocodedLocation = Position;Members 4
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | Yes | — |
longitude | number | Yes | — |
altitude | number | Yes | — |
accuracy | number | Yes | — |
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.