diff --git a/.angulardoc.json b/.angulardoc.json index 943434f..6a0ae59 100644 --- a/.angulardoc.json +++ b/.angulardoc.json @@ -1,4 +1,4 @@ { "repoId": "bc5fa7a7-7313-4845-954c-7227b0073b63", "lastSync": 0 -} +} \ No newline at end of file diff --git a/src/app/modules/public/strutture-pubbliche/strutture-pubbliche.component.ts b/src/app/modules/public/strutture-pubbliche/strutture-pubbliche.component.ts index 7a77f62..f9a16f8 100644 --- a/src/app/modules/public/strutture-pubbliche/strutture-pubbliche.component.ts +++ b/src/app/modules/public/strutture-pubbliche/strutture-pubbliche.component.ts @@ -279,6 +279,7 @@ export class StrutturePubblicheComponent { const info = this.struttureConCoords[index]; const contentString = `
+
${''.repeat( info.struttura.stelline.length, @@ -288,14 +289,14 @@ export class StrutturePubblicheComponent { }
-

+

${info.struttura.indirizzo}${ info.struttura.numeroCivico ? ', ' + info.struttura.numeroCivico : '' }

-

+

${info.struttura.cap} ${info.struttura.codiceLuogo.comune} ${ info.struttura.codiceLuogo.provincia ? '(' + info.struttura.codiceLuogo.siglaProvincia + ')' @@ -308,13 +309,14 @@ export class StrutturePubblicheComponent {

`; + this.infoWindow.infoWindow?.setHeaderDisabled(true); this.infoWindow.infoWindow?.setContent(contentString); this.infoWindow.open(marker); this.infoWindow.infoWindow?.addListener('domready', () => { - const el = document.getElementById(`facility_${info?.struttura.id}`); + const el = document.getElementById(`close_${info?.struttura.id}`); if (el) { el.addEventListener('click', () => { - // this.next(info); + this.infoWindow.infoWindow?.close(); }); } });