google-maps-documentation

PlacePhoto interface

google.maps.places.PlacePhoto interface

Represents a photo element of a Place.

Library

places

Methods
getUrl
getUrl([opts])
Parameters: 
Return Value:  string
Returns the image URL corresponding to the specified options.
Properties
height
Type:  number
The height of the photo in pixels.
html_attributions
Type:  Array<string>
Attribution text to be displayed for this photo.
width
Type:  number
The width of the photo in pixels.