Commit e015f837 authored by philippelke's avatar philippelke

new search with auto suggest prepared

parent f43cfea1
......@@ -22,8 +22,12 @@
sehen <label class="switch"><input type="checkbox" (change)="toggleAllPlaces($event)" checked="showAll == true"><span class="slider round"></span> </label>
</div>
<div class="">
<!-- search field -->
<!-- <app-autosuggest (termChanged)="termChanged(term)"></app-autosuggest> -->
<!-- old search input -->
<input type="text" formControlName="searchPattern"
class="form-control searchinput" placeholder="Wie heißt dein Ort?" />
<!-- old search button
<div class="input-group-append">
<button (click)="search()"
......
......@@ -61,7 +61,7 @@ export class SearchComponent implements OnInit {
private nominatimService : NominatimService,
private router : Router
) {
registerLocaleData(localeDe, 'de');
this.showAll = true;
this.dimensionsFilterArray=new Array<BliDimension>();
......@@ -76,7 +76,10 @@ export class SearchComponent implements OnInit {
}
termChanged(event){
console.log("Event: "+event);
}
show(element: OsmNode){
this.nodeService.showDetails(element);
this.nodeService.showDetailsWidget();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment