/// <summary> /// Returns copyright information for a given bounding box. Bounding-box requests should specify the minimum and maximum longitude and latitude (EPSG-3857) coordinates /// </summary> /// <returns></returns> public virtual async Task <Response <Render.CopyrightResult> > GetCopyrightFromBoundingBox( CopyrightFromBoundingBoxRequest req) { var res = await ExecuteRequest <CopyrightResult, CopyrightFromBoundingBoxRequest> ("https://atlas.microsoft.com/map/copyright/bounding/json", req); return(res); }
public void GetCopyrightFromBoundingBox() { var am = new AzureMapsToolkit.AzureMapsServices(_KEY); var req = new CopyrightFromBoundingBoxRequest { Mincoordinates = "52.41064,4.84228", Maxcoordinates = "52.41072,4.84239", Text = "yes" }; var res = am.GetCopyrightFromBoundingBox(req).Result; Assert.Null(res.Error); }