Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps Web site and API : different results

Why do calls to the Google Maps Geocoder API return different results than what I see in my browser?

This one returns many items :
http://maps.google.fr/maps?q=McDonald,+paris

This one returns a ZERO_RESULT :
http://maps.googleapis.com/maps/api/geocode/xml?McDonald,+paris&sensor=false

like image 741
Oliver Avatar asked May 12 '12 21:05

Oliver


People also ask

Is Google map an API or Web service?

Google Maps Platform web services are an interface for requesting Maps API data from external services and using the data within your Maps applications. These services are designed to be used in conjunction with a map, as per the License Restrictions in the Google Maps Platform Terms of Service.

Why does Google Maps look different?

Google is rolling out a new app update on both Android and iOS. The update comes with a number of feature changes, although the most obvious difference is the new logo. To mark the Maps anniversary, the app icon and general branding is changing to focus more on the Google Maps pin.

Is Google Maps API restful?

Since Google Map APIs support both json and xml , it can be safely said they they are implemented in REST.


1 Answers

FAQ: https://developers.google.com/maps/faq#geocoder_differences

The API geocoder finds postal addresses. The Maps geocoder uses lots of data, including business data, to find results.

There is the Places API which can find locations based on type/class, but it may not work for business names. Documentation

like image 94
Andrew Leach Avatar answered Oct 20 '22 15:10

Andrew Leach