1

Google Places API 是否可以通过 maps.google.cn 域使用?这适用于中国。

curl "https://maps.google.cn/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA"

但这会导致 404 The requested URL /maps/api/place/textsearch/json?query=SOME_QUERY&types=locality was not found on this server. That’s all we know.

尝试使用 http:// 但没有运气。

谢谢!

(键已从上面的示例中删除)

4

1 回答 1

1

不,它不可用,如果您在中国,请注意这是一个禁止领土,根据https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/

于 2020-01-20T08:26:00.107 回答