11#import <CoreLocation/CoreLocation.h>
12#import <Foundation/Foundation.h>
15@protocol MPLocationSource;
20NS_ASSUME_NONNULL_BEGIN
30@property (nonatomic, readonly) NSInteger
sourceId;
38@property (nonatomic, strong) NSString*
type;
42@property (nonatomic, strong) NSString*
name;
46@property (nonatomic) NSInteger
floor;
50@property (nonatomic) CLLocationCoordinate2D
position;
54@property (nonatomic, strong) UIImage*
icon;
58@property (nonatomic, strong) NSURL*
iconUrl;
82+ (
MPLocationUpdate*) updateWithId:(NSInteger)locationId fromSource:(
id<MPLocationSource>) locationSource;
91- (void) addPropertyValue: (NSString*) value forKey:(NSString*) key;
98- (void) addCategory: (NSString*) categoryKey;
const NSInteger MPLocationUpdateFloorInvalid
Definition MPLocationDisplayRule.h:22
Definition MPLocation.h:38
Definition MPLocationUpdate.h:26
CGPoint iconMapAnchor
Definition MPLocationUpdate.h:62
NSInteger sourceId
Definition MPLocationUpdate.h:30
instancetype UNAVAILABLE_ATTRIBUTE()
NSString * type
Definition MPLocationUpdate.h:38
NSInteger floor
Definition MPLocationUpdate.h:46
NSURL * iconUrl
Definition MPLocationUpdate.h:58
UIImage * icon
Definition MPLocationUpdate.h:54
CLLocationCoordinate2D position
Definition MPLocationUpdate.h:50
NSString * name
Definition MPLocationUpdate.h:42
NSInteger locationId
Definition MPLocationUpdate.h:34