public Task<AAFeatureCollection> GetMapData(RectLatLng latLongBounds)
{
return _apiUrl
.AppendPathSegments("v2", "mapdata", "geojson")
.SetQueryParams(new
{
n = latLongBounds.Top,
e = latLongBounds.Right,
s = latLongBounds.Bottom,
w = latLongBounds.Left
})
.WithClient(_client)
.GetJsonAsync<AAFeatureCollection>();
}