This class will help you to transform any input into search bar for geocoding.

Hierarchy

  • AbstractPlaces
    • Input

Constructors

Methods

  • Close the result list.

    Returns void

  • Clear created DOM elements and listeners. This could be usefull when you recreate a JawgPlace object for the same input.

    Returns void

  • Returns string

    The value of the <input>.

  • Parameters

    • value: string

      The new value for the <input>.

    Returns void

  • Open the result list with the error message. This will trigger JawgPlacesOptions.onError.

    Parameters

    • error: any

      The error to show, can be a string or an object.

    Returns void

  • Open the result list with elements from the FeatureCollection. We use the properties.label field of each features. This will trigger JawgPlacesOptions.onFeatures.

    Parameters

    Returns void

Generated using TypeDoc