Table of Contents

Class Photo

Namespace
GoogleMapsApi.Entities.PlacesNew.Response
Assembly
GoogleMapsApi.dll

A photo of a place. Use Name as PhotoName to resolve a usable image URI.

public sealed class Photo
Inheritance
Photo
Inherited Members

Properties

AuthorAttributions

Attributions required to be shown when displaying this photo.

[JsonPropertyName("authorAttributions")]
public List<AuthorAttribution>? AuthorAttributions { get; set; }

Property Value

List<AuthorAttribution>

HeightPx

Maximum available height of the photo, in pixels.

[JsonPropertyName("heightPx")]
public int? HeightPx { get; set; }

Property Value

int?

Name

Resource name of the photo (e.g. places/X/photos/Y).

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

WidthPx

Maximum available width of the photo, in pixels.

[JsonPropertyName("widthPx")]
public int? WidthPx { get; set; }

Property Value

int?