在Google地方信息中使用多种类型 [英] Using Multiple Types In Google Places
本文介绍了在Google地方信息中使用多种类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在URL中设置多种类型
I need to set multiple types in the URL
without using the parameter key "keyword"
推荐答案
不幸的是,根据Google的places API,尚不支持此功能,因此也没有一致的解决方法.真正实现多种类型的唯一方法是具有多个API调用.
Unfortunately according to Google's places API this is not yet supported and there is no consistent work around. The only way to truly achieve multiple types is to have multiple API calls.
从google API中获取有关支持类型的信息.
From the google API on supported types.
...只能指定一种类型(如果提供了多种类型,则忽略第一项之后的所有类型)
... Only one type may be specified (if more than one type is provided, all types following the first entry are ignored)
这篇关于在Google地方信息中使用多种类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文