UNPKG

@geoapify/geocoder-autocomplete

Version:

A JavaScript address autocomplete input, compatible with Leaflet, MapLibre, OpenLayers, and other map libraries for efficient location search and geocoding.

13 lines (12 loc) 832 B
import { GeocoderAutocompleteOptions } from "../autocomplete"; export declare class DomHelper { static createInputElement(inputElement: HTMLInputElement, options: GeocoderAutocompleteOptions, container: HTMLElement): void; static addFeatureIcon(element: HTMLElement, type: string, countryCode: string): void; static addIcon(element: HTMLElement, icon: string): void; static getStyledAddressSingleValue(value: string, currentValue: string): string; static getStyledAddress(featureProperties: any, currentValue: string): string; static addDropdownIcon(feature: any, itemElement: HTMLDivElement): void; static addActiveClassToDropdownItem(items: HTMLCollectionOf<HTMLDivElement>, index: number): void; static createDropdownItemText(): HTMLSpanElement; static createDropdownItem(): HTMLDivElement; }