Remove direct calls to stadia API from geocoding
This commit is contained in:
parent
43dce16fbd
commit
9ef6aaa406
20 changed files with 213 additions and 274 deletions
15
ts/types.ts
15
ts/types.ts
|
|
@ -1,15 +1,6 @@
|
|||
import type { Map as MapLibreMap } from "maplibre-gl";
|
||||
import { Address, Location } from "@/type/api";
|
||||
|
||||
export interface Address {
|
||||
country: string;
|
||||
locality: string;
|
||||
number: string;
|
||||
postal_code: string;
|
||||
raw: string;
|
||||
region: string;
|
||||
street: string;
|
||||
unit: string;
|
||||
}
|
||||
export interface Bounds {
|
||||
min: Location;
|
||||
max: Location;
|
||||
|
|
@ -71,10 +62,6 @@ export interface Lead {
|
|||
id: number;
|
||||
title: string;
|
||||
}
|
||||
export interface Location {
|
||||
lat: number;
|
||||
lng: number;
|
||||
}
|
||||
export interface LogEntry {
|
||||
created: string;
|
||||
id: number;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue