# Conflicts:
# src/components/app.html
# src/components/map/map.ts
# src/components/search/search.ts
<div class="container">
- <div class="nav">
- Navbar
- <mou-search (newsearch)="map.update($event)"></mou-search>
- <mou-filter></mou-filter>
- </div>
-
+ <mou-navbar></mou-navbar>
- <mou-map></mou-map>
+ <mou-map #map></mou-map>
-
</div>
styleUrls: ['./components/search/search.css']
})
export class Search {
- orgunits:Array<any> = [];
- loading:boolean = false;
+ orgunits: Array<any> = [];
+ loading: boolean = false;
- getMoreInfo(orgunit){
- console.log(orgunit.id);
+ constructor() {
+ this.newsearch = new EventEmitter();
++ this.visible = true;
+
}
- //tester pil oppned
-
- constructor() {
- this.visible = true;
+ getMoreInfo(orgunit) {
+ this.newsearch.next(orgunit.id);
}
++ //tester pil oppned
++
+ toggle() {
+ this.visible = !this.visible;
+ }
+
}