Is Google Places API available via maps.google.cn domain?

六眼飞鱼酱① 提交于 2021-02-04 21:01:34

问题


is Google places API available via maps.google.cn domain? This works from China.

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

but this results in 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.

tried with http:// but no luck.

Thanks!

(keys are removed from the examples above)


回答1:


No it's not available, and if you're in China, please note that this is a prohibited territory as per https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/



来源:https://stackoverflow.com/questions/59782279/is-google-places-api-available-via-maps-google-cn-domain

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!