/// <summary> /// 执行地图查询. /// </summary> private void DoMapQuery() { AliyunMapServuce service = new AliyunMapServuce(); AliyunGeocodingResult result = service.Geocoding(this.txtAddress.Text); this.lon = result.lon; this.lat = result.lat; }