Amplify JS API Documentation
    Preparing search index...
    interface GeoProvider {
        deleteGeofences(
            geofenceIds: string[],
            options?: GeofenceOptions,
        ): Promise<DeleteGeofencesResults>;
        getAvailableMaps(): MapStyle[];
        getCategory(): string;
        getDefaultMap(): MapStyle;
        getGeofence(
            geofenceId: string,
            options?: ListGeofenceOptions,
        ): Promise<Geofence>;
        getProviderName(): string;
        listGeofences(options?: ListGeofenceOptions): Promise<ListGeofenceResults>;
        saveGeofences(
            geofences: GeofenceInput[],
            options?: GeofenceOptions,
        ): Promise<SaveGeofencesResults>;
        searchByCoordinates(
            coordinates: Coordinates,
            options?: SearchByCoordinatesOptions,
        ): Promise<Place>;
        searchByPlaceId(
            placeId: string,
            options?: searchByPlaceIdOptions,
        ): Promise<Place | undefined>;
        searchByText(text: string, options?: SearchByTextOptions): Promise<Place[]>;
        searchForSuggestions(
            text: string,
            options?: SearchByTextOptions,
        ): Promise<SearchForSuggestionsResults>;
    }

    Implemented by

    Index

    Methods

    • Returns string

    • Returns string