Events
-
searchengine:autocomplete:click
OpenLayers/Controls/SearchEngine.js, line 1291 -
event triggered when an element of the results is clicked for autocompletion
Properties:
Name Type Description type Object event
location Object location
target Object instance SearchEngine
Example
SearchEngine.on("searchengine:autocomplete:click", function (e) { console.log(e.location); })
-
searchengine:geocode:click
OpenLayers/Controls/SearchEngine.js, line 1393 -
event triggered when an element of the results is clicked for geocoding
Properties:
Name Type Description type Object event
location Object location
target Object instance SearchEngine
Example
SearchEngine.on("searchengine:geocode:click", function (e) { console.log(e.location); })