-
Notifications
You must be signed in to change notification settings - Fork 97
Description
Hello, i have a lot of days dealing with this:
i have a few weeks working with this library, all seems going well, but now i have to show some info i got from wms server. i'm trying to use with this code:
`<aol-overlay *ngIf="WMSInfo.mostrar" #popupOverlay [autoPan]="true">
<aol-coordinate
[x]="clickCoord4326[0]"
[y]="clickCoord4326[1]"
[srid]="'EPSG:4326'"
>
<aol-content>
<div #popupInfo class="ol-popup">
<a (click)="quitarPopupInfo()" #popupCloser class="ol-popup-closer"></a>
<div id="popup-info-content">
<p [innerText]="clickCoord4326"></p>
<div *ngFor="let info of WMSInfo.contenido">
<div>{{ info.nombre }} {{ info }}</div>
<hr>
</div>
</div>
</div>
</aol-content>
</aol-overlay>`
but when i test the app, i got an error in console about of this.host.instance is undefined
ERROR TypeError: this.host.instance is undefined
ngOnChanges coordinate.component.js:45
Angular 6
MapaViewComponent_aol_layer_tile_42_aol_source_tilewms_1_aol_overlay_2_Template mapa-view.component.html:222
Angular 42
RxJS 5
Angular 17
RxJS 22
seems something is not coming well to coordinate.component.js:45 but i cant find why or what :(
can you check this please?
i have angular 10, btw