@goparrot/geocoder
Version:
TypeScript GeoCoder, node geocoding library, supports google maps, mapquest, here, open street map, tom tom
13 lines • 574 B
JavaScript
import { AbstractHttpProvider } from '../../model';
import { MapQuestGeocodeCommand, MapQuestReverseCommand } from './command';
export class MapQuestProvider extends AbstractHttpProvider {
constructor(httpClient, apiKey) {
super({
geocode: new MapQuestGeocodeCommand(httpClient, apiKey),
reverse: new MapQuestReverseCommand(httpClient, apiKey),
// no sense without MapQuestPlaceIdCommand
// suggest: new MapQuestSuggestCommand(httpClient, apiKey),
});
}
}
//# sourceMappingURL=map-quest.provider.js.map