@geoapify/geocoder-autocomplete
Version:
A JavaScript address autocomplete input, compatible with Leaflet, MapLibre, OpenLayers, and other map libraries for efficient location search and geocoding.
14 lines (13 loc) • 950 B
TypeScript
import { GeocoderAutocompleteOptions } from "../autocomplete";
export declare class CalculationHelper {
static isLatitude(num: any): boolean;
static isLongitude(num: any): boolean;
static isNotOpenStreetMapData(feature: any): boolean;
static extendByNonVerifiedValues(options: GeocoderAutocompleteOptions, features: any, parsedAddress: any): void;
private static addHouseNumberToFormatted;
static generatePlacesUrl(placeDetailsUrl: string, placeId: string, apiKey: string, options: GeocoderAutocompleteOptions): string;
static needToFilterDataBySuggestionsFilter(currentItems: any, suggestionsFilter?: (suggetions: any[]) => any[]): boolean;
static needToCalculateExtendByNonVerifiedValues(data: any, options: GeocoderAutocompleteOptions): boolean;
static generateUrl(value: string, geocoderUrl: string, apiKey: string, options: GeocoderAutocompleteOptions): string;
static returnIfFunction(func: any): any;
}