Warning

This feature is available in the Full MapKit SDK version

MMKSearchPlaceInfo

@interface MMKSearchPlaceInfo : NSObject

Related place information.

Summary

Class methods

+ (nonnull MMKSearchPlaceInfo *)placeInfoWithName:(nonnull NSString *)name
                                              uri:(nullable NSString *)uri
                                 photoUrlTemplate:(nullable NSString *)photoUrlTemplate
                                            logId:(nullable NSString *)logId
                                            point:(nullable MMKPoint *)point
                                         category:(nullable NSString *)category
                                        shortName:(nullable NSString *)shortName
                                           rating:(nullable NSNumber *)rating
                                     workingHours:(nullable MMKSearchWorkingHours *)workingHours
                                          address:(nullable NSString *)address
                                              tag:(nonnull NSArray<NSString *> *)tag;

Properties

@property (nonatomic, readonly, nonnull) NSString *name;
Place name

@property (nonatomic, readonly, nullable) NSString *uri;
Place URI

@property (nonatomic, readonly, nullable) NSString *photoUrlTemplate;
Url template for place photo

@property (nonatomic, readonly, nullable) NSString *logId;
Server-generated log identifier

@property (nonatomic, readonly, nullable) MMKPoint *point;
Place position

@property (nonatomic, readonly, nullable) NSString *category;
Place category as a string

@property (nonatomic, readonly, nullable) NSString *shortName;
Short name for a place

@property (nonatomic, readonly, nullable) NSNumber *rating;
Place rating as number in 0 to 10 range

@property (nonatomic, readonly, nullable) MMKSearchWorkingHours *workingHours;
Open hours for a place

@property (nonatomic, readonly, nullable) NSString *address;
Formatted address for an organization

@property (nonatomic, readonly, nonnull) NSArray<NSString *> *tag;
Tags

Class methods

placeInfoWithName:uri:photoUrlTemplate:logId:point:category:shortName:rating:workingHours:address:tag:

+ (nonnull MMKSearchPlaceInfo *)placeInfoWithName:(nonnull NSString *)name
                                              uri:(nullable NSString *)uri
                                 photoUrlTemplate:(nullable NSString *)photoUrlTemplate
                                            logId:(nullable NSString *)logId
                                            point:(nullable MMKPoint *)point
                                         category:(nullable NSString *)category
                                        shortName:(nullable NSString *)shortName
                                           rating:(nullable NSNumber *)rating
                                     workingHours:(nullable MMKSearchWorkingHours *)workingHours
                                          address:(nullable NSString *)address
                                              tag:(nonnull NSArray<NSString *> *)tag;


Properties

name

@property (nonatomic, readonly, nonnull) NSString *name;

Place name.


uri

@property (nonatomic, readonly, nullable) NSString *uri;

Place URI.

Optional field, can be nil.


photoUrlTemplate

@property (nonatomic, readonly, nullable) NSString *photoUrlTemplate;

Url template for place photo.

Optional field, can be nil.


logId

@property (nonatomic, readonly, nullable) NSString *logId;

Server-generated log identifier.

Optional field, can be nil.


point

@property (nonatomic, readonly, nullable) MMKPoint *point;

Place position.

Optional field, can be nil.


category

@property (nonatomic, readonly, nullable) NSString *category;

Place category as a string.

Optional field, can be nil.


shortName

@property (nonatomic, readonly, nullable) NSString *shortName;

Short name for a place.

Optional field, can be nil.


rating

@property (nonatomic, readonly, nullable) NSNumber *rating;

Place rating as number in 0 to 10 range.

Optional field, can be nil.


workingHours

@property (nonatomic, readonly, nullable) MMKSearchWorkingHours *workingHours;

Open hours for a place.

Optional field, can be nil.


address

@property (nonatomic, readonly, nullable) NSString *address;

Formatted address for an organization.

Optional field, can be nil.


tag

@property (nonatomic, readonly, nonnull) NSArray<NSString *> *tag;

Tags