UNPKG

@goparrot/geocoder

Version:

TypeScript GeoCoder, node geocoding library, supports google maps, mapquest, here, open street map, tom tom

20 lines (19 loc) 448 B
export interface LocationInterface<ProviderRawEntryType = any> { provider: string; latitude: number; longitude: number; formattedAddress?: string; country?: string; /** * ISO 3166-1 alpha-2 */ countryCode?: string; state?: string; stateCode?: string; city?: string; streetName?: string; houseNumber?: string; postalCode?: string; placeId?: string; raw?: ProviderRawEntryType; }