UNPKG

@itwin/geo-tools-react

Version:
21 lines 641 B
import type { Cartographic } from "@itwin/core-common"; import type { MapCartoRectangle } from "@itwin/core-frontend"; export interface AddressData { formattedAddress: string; } export interface AddressRequest { method: "POST" | "GET"; url: URL; headers?: { [key: string]: string; }; body?: string; } export interface GeoCoder { getLocation(data: AddressData): Promise<Cartographic>; } export interface AddressProvider { getSuggestions(query: string, viewRect: MapCartoRectangle): Promise<AddressData[]>; supportsAddressLocation(): this is GeoCoder; } //# sourceMappingURL=AddressProvider.d.ts.map