please
in my system, i'm receiving one problem about G_UNAVAILABLE_ADDRESS
is there an issue or the problem of limit in my system ?
thank you so much
i have a line that prevent the error?
GEvent.addListener(gdirs, "error", handleErrors2);
with the block copied bellow... what´s wrong, please? i dont receive
nothing by
mail,...??? how i can protect 100%??? please !!!
function handleErrors2(){
if (gdirs.getStatus().code == G_GEO_UNKNOWN_ADDRESS)
alert(
"Endere‡o nÆo encontrado.");//\nErro: " + gdirs.getStatus().code);
//No corresponding geographic location could be found for one of the
specified
addresses. This may be due to the fact that the address is relatively
new, or it may
be incorrect
else if (gdirs.getStatus().code == G_GEO_SERVER_ERROR)
alert(
"Falha desconhecida");//.\n Erro: " + gdirs.getStatus().code);
//A geocoding or directions request could not be successfully
processed, yet the
exact reason for the failure is not known
else if (gdirs.getStatus().code == G_GEO_MISSING_QUERY)
alert(
"Consulta nÆo possibilitada");//.\n Erro: " + gdirs.getStatus
().code);
//The HTTP q parameter was either missing or had no value. For
geocoder requests,
this means that an empty address was specified as input. For
directions requests,
this means that no query was specified in the input
else if (gdirs.getStatus().code == G_UNAVAILABLE_ADDRESS)
alert(
"Falha");//.\n Erro: " + gdirs.getStatus().code);
//The geocode for the given address or the route for the given
directions query
cannot be returned due to legal or contractual reasons
else if (gdirs.getStatus().code == G_GEO_BAD_KEY)
alert(
"Chave inv lida");//.\n Erro: " + gdirs.getStatus().code);
//The given key is either invalid or does not match the domain for
which it was
given
else if (gdirs.getStatus().code == G_GEO_BAD_REQUEST)
alert(
"Falha");//.\n Erro: " + gdirs.getStatus().code);
//The given key is either invalid or does not match the domain for
which it was
given
else alert("Erro desconhecido.");
please, help me
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---