Constructs a new LocationSearchController class. A user interface control that generates a location search tool.

Methods

initialize

(
  • options
)

Initializes a new LocationSearch menu.

Parameters:

  • options Object

processSearch

()

Returns location results and locates the selected POI on the map.

setPlaceholderText

(
  • text
)

Sets the placeholder text in the text input control.

Parameters:

  • text String

    A string to inject into the text input's placeholder attribute.