Class GeocodingControl
Hierarchy
- Control
- GeocodingControl
Index
Constructors
Properties
Methods
Constructors
constructor
Parameters
- options: OpenLayersControlOptions
Returns GeocodingControl
Properties
on
on: CustomObjectOnSignature<EventsKey>
once
once: CustomObjectOnSignature<EventsKey>
un
un: CustomObjectOnSignature<EventsKey>
Methods
blur
Returns void
clearList
Clear search result list.
Returns void
clearMap
Clear geocoding search results from the map.
Returns void
focus
setMap
setOptions
Update the control options.
Parameters
- options: OpenLayersControlOptions
options to update
Returns void
- options: OpenLayersControlOptions
setQuery
Set the content of search input box.
Parameters
- value: string
text to set
- submit: boolean = true
perform the search
Returns void
- value: string
setReverseMode
Set reverse geocoding mode.
Parameters
- reverseActive: boolean
reverse geocoding active
Returns void
- reverseActive: boolean
Blur the search input box.