maplibre-gl-js-amplify
Version:
MapLibre Plugin to Support Amplify Geo Integration
17 lines (16 loc) • 477 B
TypeScript
import { IControl } from 'maplibre-gl';
export declare const AmplifyGeocoderAPI: {
forwardGeocode: (config: any) => Promise<{
features: any[];
}>;
reverseGeocode: (config: any) => Promise<{
features: any[];
}>;
getSuggestions: (config: any) => Promise<{
suggestions: any[];
}>;
searchByPlaceId: (config: any) => Promise<{
place: any;
}>;
};
export declare function createAmplifyGeocoder(options?: any): IControl;