-1
我想按关键字过滤Google Places API结果。目前它支持“健身房”类型,但我想获得更具体的内容,如“瑜伽”或“拳击”。我如何在我的代码中实现这一点?按关键字过滤Google Places API结果按关键字
function search() {
var search = {
bounds: map.getBounds(),
types: ['gym']
};
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=API_KEY&signed_in=true&libraries=places&callback=initMap"
async defer></script>