AW-6046 ng-openlayers
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
import { Component, ElementRef, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'aol-attribution',
|
||||
template: '<ng-content></ng-content>',
|
||||
})
|
||||
export class AttributionComponent implements OnInit {
|
||||
label: string;
|
||||
|
||||
constructor(private elementRef: ElementRef) {}
|
||||
|
||||
ngOnInit() {
|
||||
this.label = this.elementRef.nativeElement.innerHTML;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user