2
I’m doing it, but it’s not working
var nomeRua = document.getElementById('nomeRua').value();
var nomeBairro = document.getElementById('nomeBairro').value();
var uf = document.getElementById('uf').value();
var nomeCidade = document.getElementById('nomeCidade').value();
geocoder.geocode({ 'address': endereco + nomeRua + ", " + nomeBairro + ", " + uf + ", " + nomeCidade }, function (results, status) {
(...)
Use only
.value;
and not.value();
. Another thing, I don’t see where theendereco
?– Sergio
Thank you. The address is elsewhere
– Sarah