Geocoding API returns different results than the sample app

4 posts / 0 new
Last post
ezfc-itdept
Geocoding API returns different results than the sample app

When I make a request using this address: http://open.mapquestapi.com/geocoding/v1/address?key=KEY&inFormat=kvp&ou...

I got the following coordinates:

"lat": 39.78373, "lng": -100.445882

and when I make the same request using the live sample site (https://developer.mapquest.com/documentation/samples/geocoding/v1/address/) I get:

"lat": 40.70746,"lng": -74.00432

Which is correct.

Is there something that I'm missing?.

Please help.

Thanks!


MQBrianCoakley
Use www.mapquestapi.com
Use www.mapquestapi.com/geocoding/ rather than the open version.

ezfc-itdept
Thank you! That was it!

Thank you! That was it!


MQBrianCoakley
Cool. I'm glad it was
Cool. I'm glad it was relatively easy.