Google Maps API - Multiple keywords in place searches

前端 未结 6 2101
青春惊慌失措
青春惊慌失措 2021-02-08 19:58

Is it possible search multiple individual keywords in one place search request using Google Maps JavaScript API v3?

In the Google Places API documentation it states that

6条回答
  •  南笙
    南笙 (楼主)
    2021-02-08 20:44

    Using Google place API, Make a boolean search seems to work like this :

    var request = {
                location: /*your location*/,
                radius: /*your radius*/,              
                keyword: "(cinema) OR (theater)"           
            };
    

    you can use OR, AND but respect case!!

提交回复
热议问题