wrong result from geocoding

2 posts / 0 new
Last post
ralphot
wrong result from geocoding

If I use just a name for town or place, it gives me correct coordinates.

But when I use the variable $address I end up in

Sau Paulo, South America.

Same lat lng whatever the $address contains. lat -23.64 lng -46.57.

What could be the problem?

 

Regards, Ralph in Sweden


MQBrianCoakley
Can you post the request
Can you post the request being made to www.mapquestapi.com that is getting the unexpected result?