fix(): fix creazione address google maps
This commit is contained in:
parent
15aea3755c
commit
a26e7ca41c
@ -398,7 +398,6 @@ export class StrutturePubblicheComponent {
|
|||||||
comune: _form.citta?.comune,
|
comune: _form.citta?.comune,
|
||||||
};
|
};
|
||||||
this.calcolaIndirizzoDa = _form.indirizzo;
|
this.calcolaIndirizzoDa = _form.indirizzo;
|
||||||
console.log('params', params);
|
|
||||||
|
|
||||||
const strutture$ = this.strutturePubblicheService.getStrutture(params).pipe(
|
const strutture$ = this.strutturePubblicheService.getStrutture(params).pipe(
|
||||||
catchError((err) => {
|
catchError((err) => {
|
||||||
@ -589,7 +588,7 @@ export class StrutturePubblicheComponent {
|
|||||||
? ', ' + struttura.struttura.numeroCivico
|
? ', ' + struttura.struttura.numeroCivico
|
||||||
: ''
|
: ''
|
||||||
}`;
|
}`;
|
||||||
address += `${struttura.struttura.cap} ${struttura.struttura.codiceLuogo.comune}(${struttura.struttura.codiceLuogo.siglaProvincia})`;
|
address += ` ${struttura.struttura.cap} ${struttura.struttura.codiceLuogo.comune}(${struttura.struttura.codiceLuogo.siglaProvincia})`;
|
||||||
// address += `${struttura.struttura.codiceLuogo.provincia ? '(' + struttura.struttura.codiceLuogo.siglaProvincia + ')' : ''}`;
|
// address += `${struttura.struttura.codiceLuogo.provincia ? '(' + struttura.struttura.codiceLuogo.siglaProvincia + ')' : ''}`;
|
||||||
|
|
||||||
const destination = encodeURIComponent(
|
const destination = encodeURIComponent(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user