¡Ayúdanos a traducir esta Web y consigue licencias gratis!
Usuario anónimo  |  Ingresar  |  Regístrate
Mensaje dentro Help

getGeoCodeRequest problem

Responder 
#1 - 09/01/2012 15:20:51 Reporta abuso | Link permanente
pragaw
Fecha de registro: 07/10/2011
7 posts en todos los foros
getGeoCodeRequest problem

Responder Citar
I have a problem with the getGeoCodeRequest. It returns 0 inconsistently. Sometimes it works sometimes it doesn't for the same set of addresses. This happens in localhost and also in test where I applied the Commercial License.
GeoCode geocode = GMap1.getGeoCodeRequest(address);

EDITADO 1/9/2012 3:21:47 PM: bad formatting
Volver arriba

Respuestas
De en 15
#2 - 27/01/2012 15:40:57 Reporta abuso | Link permanente
subgurim
Fecha de registro: 18/10/2006
2001 posts en todos los foros
RE: getGeoCodeRequest problem

Responder Citar
Well done ;)
Volver arriba

#3 - 13/01/2012 15:42:28 Reporta abuso | Link permanente
pragaw
Fecha de registro: 07/10/2011
7 posts en todos los foros
RE: getGeoCodeRequest problem

Responder Citar
This is what I found out:
Google has a limit of GeoCode requests per IP per day. Therefore I modified my approach and save the coordinates in the database. This way I call geocode once when the record is saved not each time it's displayed on the map.

Volver arriba

#4 - 12/01/2012 20:13:57 Reporta abuso | Link permanente
subgurim
Fecha de registro: 18/10/2006
2001 posts en todos los foros
RE: getGeoCodeRequest problem

Responder Citar
Hi!

I've detected this problem only if the "domain" is localhost... But if the domain is other than "localhost" it should work.

Can you confirm that you're having problems with a working domain?

If so, can you please give me a link so I can catch network requests?

This problem has nothing to do with the license.

Regards.
Volver arriba

#5 - 12/01/2012 19:01:15 Reporta abuso | Link permanente
pragaw
Fecha de registro: 07/10/2011
7 posts en todos los foros
RE: getGeoCodeRequest problem

Responder Citar
Please let me know if you don't understand the problem. I'm waiting three days for a reply already.

The problem is that the behaviour is erratic. There are no rules or patterns that I can detect.
When I call this:
GeoCode geocode = GMap1.getGeoCodeRequest(address);

geocode.valid will return true or false randomly for the same address.

Is there anybody who encountered the same problem?

Can you think of anything Subgurim?
Volver arriba
De en 15

Powered by Subgurim.NET