public async Task <GeoObjectCollection> ReverseGeocodeAsync( GeoPoint point, GeoObjectKind kind, short results, LangType lang) { string requestUlr = string.Format(RequestUrl, $"{point.Longitude},{point.Latitude}", results, this.LangTypeToStr(lang)) + $"&kind={kind.ToString().ToLower()}" + (string.IsNullOrEmpty(this.Key) ? string.Empty : "&key=" + this.Key); return(new GeoObjectCollection(await this.DownloadStringAsync(requestUlr))); }
public GeoMetaData(string text, GeoObjectKind kind, Address address) : this(text, kind) { this.Address = address; }
public GeoMetaData(string text, GeoObjectKind kind) : this(text) { this.Kind = kind; }
public async Task <GeoObjectCollection> ReverseGeocodeAsync(GeoPoint point, GeoObjectKind kind, short results) { return(await this.ReverseGeocodeAsync(point, GeoObjectKind.House, 10000, LangType.RU)); }
public async Task <GeoObjectCollection> ReverseGeocodeAsync(GeoPoint point, GeoObjectKind kind) { return(await this.ReverseGeocodeAsync(point, GeoObjectKind.House, 10000)); }