Jump to content

Recommended Posts

Posted

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]);     }   } );

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...