Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Places Nearby Search

I'm trying to fetch a local BMW repair facility for Dortmund, Germany. According to Google Maps, there is a BMW dealer nearby to location 51.48488,7.4687013.

The following request matches the above mentioned dealer: maps.googleapis.com/maps/api/place/nearbysearch/json?location=51.4842556,7.474081&radius=20000&language=en&name=BMW&key=API_KEY

{
    "name": "BMW Niederlassung Dortmund",
    ...,
    "types": [
        "car_repair",
        "car_dealer",
        "store",
        "point_of_interest",
        "establishment"
    ],
    ...,
    "vicinity": "Nortkirchenstraße 111, Dortmund"
}

However, if I be more specific on the type (type=car_repair) the above mentioned dealer isn't matched: maps.googleapis.com/maps/api/place/nearbysearch/json?location=51.4842556,7.474081&radius=20000&language=en&name=BMW&type=car_repair&key=API_KEY

I'm pretty sure the second request matched the mentioned dealer in the past...

Any suggestions?

like image 211
Sebastian Ullrich Avatar asked Mar 22 '16 13:03

Sebastian Ullrich


Video Answer


1 Answers

After 12 days, this problem seems to be fixed.

like image 57
Sebastian Ullrich Avatar answered Oct 27 '22 23:10

Sebastian Ullrich