...
Bloco de código | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
maps(){ const endpoint = `geocode/json?address="${this.address}"` this.mingleService.gmaps.gateway(endpoint).subscribe(response => { const lat = response.results[0].geometry.location.lat; const long = response.results[0].geometry.location.lng; const urlGoogle = `https://maps.google.com/?q=${lat},${long}`; }); } |
...