Example #1
0
 /// <summary>
 /// The Streetview static API image URL
 /// </summary>
 /// <param name="pitch">The pitch of the image</param>
 /// <param name="res">The resolution of the image</param>
 /// <param name="fov">The field of view of the image</param>
 /// <returns>The Streetview static API image URL</returns>
 public string ImageURL(double pitch, Resolution res, int fov, bool firstParty = false, uint searchRadius = DefaultSearchRadius) =>
 URL.Sign("https://maps.googleapis.com/maps/api/streetview?size=" + res.Width + "x" + res.Height + "&location=" + Latitude + "," + Longitude + "&heading=" + Bearing + "&pitch=" + pitch + "&fov=" + fov + "&radius=" + searchRadius + (firstParty ? "&source=outdoor" : ""));