public class PlacePhoto extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
PlacePhoto.ArrayProperty |
Modifier and Type | Method and Description |
---|---|
double |
getHeight()
Returns value of height property.
|
java.lang.String[] |
getHtmlAttributions()
Returns value of htmlAttributions property.
|
java.lang.String |
getUrl(PhotoOptions options)
Returns the image URL corresponding to the specified options.
|
double |
getWidth()
Returns value of width property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public double getHeight()
Contains the height of the photo in pixels.
public double getWidth()
Contains the width of the photo in pixels.
@Nullable public java.lang.String[] getHtmlAttributions()
Contains the attribution text to be displayed for this photo.
public java.lang.String getUrl(PhotoOptions options)
options
- resulting URL options