VictorAlves Posted October 19, 2018 Share Posted October 19, 2018 Estou usando o componente UniGMap, Sempre quando eu rodo o sistema pela primeira vez e tento usar o mapa ele da erro. Ele só para de dar erro quando eu atualizo a pagina ou abro o sistema em outro navegador. Ajax Error Google is not defined var geocoder = new google.maps.Geocoder(); geocoder.geocode({"address": "18520-000"}, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { ajaxRequest(O202, "Geocoder", ["lat="+results[0].geometry.location.lat(), "lng="+results[0].geometry.location.lng() ]); gm_O202.panTo( results[0].geometry.location ); } else { ajaxRequest(O202, "Geocoder", ["Geocoder failed due to: " + status]); } } ); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.