UNPKG

@goparrot/geocoder

Version:

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

14 lines 769 B
import { AbstractHttpProvider } from '../../model'; import { GoogleMapsDistanceCommand, GoogleMapsGeocodeCommand, GoogleMapsPlaceDetailsCommand, GoogleMapsReverseCommand, GoogleMapsSuggestCommand, } from './command'; export class GoogleMapsProvider extends AbstractHttpProvider { constructor(httpClient, apiKey) { super({ geocode: new GoogleMapsGeocodeCommand(httpClient, apiKey), reverse: new GoogleMapsReverseCommand(httpClient, apiKey), suggest: new GoogleMapsSuggestCommand(httpClient, apiKey), placeDetails: new GoogleMapsPlaceDetailsCommand(httpClient, apiKey), distance: new GoogleMapsDistanceCommand(httpClient, apiKey), }); } } //# sourceMappingURL=google-maps.provider.js.map