@rr0/place
Version:
Place representation API
14 lines (13 loc) • 532 B
TypeScript
import { PlaceService } from "./PlaceService.js";
import { PlaceLocation } from "./location/PlaceLocation.js";
import { Elevation } from "./Place.js";
export declare class GooglePlaceService extends PlaceService {
protected apiKey: string;
private readonly client;
constructor(rootDir: string, apiKey: string);
protected getElevation(location: PlaceLocation): Promise<Elevation | undefined>;
protected geocode(address: string): Promise<{
location: PlaceLocation;
data: any;
} | undefined>;
}