UNPKG

@goparrot/geocoder

Version:

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

15 lines 487 B
import { AbstractSuggestionTransformer } from '../../../transformer'; import { ArcgisProvider } from '../arcgis.provider'; export class ArcgisSuggestionTransformer extends AbstractSuggestionTransformer { constructor(raw) { super(ArcgisProvider, raw); this.raw = raw; } async getFormattedAddress() { return this.raw.text; } async getPlaceId() { return this.raw.magicKey; } } //# sourceMappingURL=arcgis-suggestion.transformer.js.map