Derived from: NMAMedia
Represents an image associated with an NMAPlace.
[For complete information, see the section Class Details]
Public Property Summary
Instance Method Summary
|Instance Method Summary|
Gets a URL for an image with specific width-height dimensions
Represents an image associated with an NMAPlace. Images are uploaded by the HERE user community.
Public Property Details
NSString * imageSource
The external URL of the image source.
NSString * uniqueId
The unique identifier of the image.
An ID for an image is optional. Attempts to read this property could return empty string.
NMALink * user
The details of the user who contributed the image.
A user-contributor for an image is optional. Attempts to read this property could return nil.
Instance Method Details
-(nullable NSString *) URLForImageWithWidth:(NSInteger) width height:(width:height:imageURL)
Gets a URL for an image with specific width-height dimensions.
The provided width-height are used as upper boundaries for the dimensions of the returned images. The solution will never scale up small images and will maintain the aspect ratio of the original image.
A URL of image with specific width-height dimensions will not be returned if it has not been queried with NMARequest:addImageSizeWithWidth:height
image_dimensions=w32-h32,w64-h64 image_dimensions=w32-h32,w300 image_dimensions=h200
The image width.
The image height.
The URL to retrieve the image with the specified width-height dimensions. Can be nil if an image with the specified dimensions is unavailable.