MRUserLocation Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | MRAnnotation |
| Declared in | MRUserLocation.h |
Overview
A model object implementing the MRAnnotation protocol, to be used to represent the user’s location on a map.
updating
Returns YES if the user’s location is being updated.
@property (nonatomic, readonly) BOOL updatingDeclared In
MRUserLocation.h
location
Returns nil if the owning MRMapView’s showsUserLocation is NO or the user’s location has yet to be determined.
@property (nonatomic, readonly, nullable) MRLocation *locationDeclared In
MRUserLocation.h
title
The title to be displayed for the user location annotation.
@property (nonatomic, copy, nonnull) NSString *titleDeclared In
MRUserLocation.h
subtitle
The subtitle to be displayed for the user location annotation.
@property (nonatomic, copy, nullable) NSString *subtitleDeclared In
MRUserLocation.h
zPosition
The z-position of the user location annotation.
@property (nonatomic, assign) CGFloat zPositionDeclared In
MRUserLocation.h
collides
Whether the user location annotation collides with other annotation.
@property (nonatomic, assign) BOOL collidesDeclared In
MRUserLocation.h
– setCustomColor:type:
Override the custom user location annotation color
- (void)setCustomColor:(nullable UIColor *)color type:(MRLocationProviderType)typeParameters
color |
A color value for the user location annotation |
|---|---|
type |
A constant for the associated location provider |
Declared In
MRUserLocation.h
– customColor:
The custom user location annotation color
- (nullable UIColor *)customColor:(MRLocationProviderType)typeParameters
type |
The type a particular color is associated with. |
|---|
Declared In
MRUserLocation.h