Bing 地图 API 如何设置中文返回结果
要设置 Bing 地图 API 返回中文,需要将 'c=' 参数设置为 'zh-CN',如下所示:
http://dev.virtualearth.net/REST/v1/Locations?q=Seattle&key=BingMapsKey&c=zh-CN
在这个示例中,'q=' 参数设置为 'Seattle','key=' 参数设置为 Bing 地图 API 密钥,而 'c=' 参数设置为 'zh-CN',以返回中文。
请注意,在使用 Bing 地图 API 时,您需要使用有效的 Bing 地图 API 密钥。
原文地址: https://www.cveoy.top/t/topic/nnZQ 著作权归作者所有。请勿转载和采集!