22 lines
456 B
TypeScript
22 lines
456 B
TypeScript
export interface GeoapifyAddressProperties {
|
|
formatted?: string;
|
|
address_line1?: string;
|
|
address_line2?: string;
|
|
city?: string;
|
|
municipality?: string;
|
|
postcode?: string;
|
|
country?: string;
|
|
country_code?: string;
|
|
lat?: number;
|
|
lon?: number;
|
|
}
|
|
|
|
export interface GeoapifyFeature {
|
|
type: 'Feature';
|
|
properties: GeoapifyAddressProperties;
|
|
}
|
|
|
|
export interface GeoapifyAutocompleteResponse {
|
|
type: string;
|
|
features: GeoapifyFeature[];
|
|
} |