new component()
Input form field which provides Nominatim typeahead lookup using ngeo.routing.NominatimService
.
Example:
<ngeo-nominatim-input
ngeo-nominatim-input-value="ctrl.label"
ngeo-nominatim-input-placeholder="type to search"
ngeo-nominatim-input-on-select="ctrl.onSelect">
Is used in in the partial of ngeo.routingFeatureComponent
.
See the ../examples/routing.html example to see it in action.
HTML attributes:
Name | Type | Description |
---|---|---|
ngeo-nominatim-input-on-select |
function | Event fired when user selects a new suggestion. |
ngeo-nominatim-input-value |
string | Value of input field, will be set to the label of the search result. |
ngeo-nominatim-input-placeholder |
string | Placeholder text, when field is empty. |