地理/逆地理编码

class lbs.client.qq.api.Geocoder(client=None)[源代码]

地理/逆地理编码

geocoder(address, region=None)[源代码]

地理编码 https://lbs.qq.com/webservice_v1/guide-geocoder.html

参数:
  • address – 地址
  • region – 指定地址所属城市
regeocoder(location, get_poi=0, poi_options=None)[源代码]

逆地理编码 https://lbs.qq.com/webservice_v1/guide-gcoder.html

参数:
  • location – 位置坐标
  • get_poi – 是否返回周边POI列表
  • poi_options – 用于控制POI列表