private StreetViewLocation AdjustCoordinates(StreetViewLocation location) { return(location.CloneLocationWithOverwrite( location.Pitch, location.Scale, location.Heading, location.Latitude - (this.random.NextDouble() - 0.5) / 30, location.Longitude - (this.random.NextDouble() - 0.5) / 30)); }
private void DownloadData(StreetViewLocation location) { var cloned = location.CloneLocationWithOverwrite(0, 1, 0); for (var i = 0; i < 360; i += 1) { cloned.DownloadStreetViewLocationImage(); cloned = cloned.CloneLocationWithOverwrite(cloned.Pitch, cloned.Scale, i); } }