MRPlacemark Class Reference
Inherits from | MRPointAnnotation : NSObject |
---|---|
Declared in | MRPlacemark.h |
key
Uniquely identifies this placemark. The parent of this key should identify the map containing this placemark.
@property (nonatomic, copy) MREditorKey *key
Declared In
MRPlacemark.h
relatedMapKey
If not nil, indicates this placemark leads to another map.
@property (nonatomic, copy) MREditorKey *relatedMapKey
Declared In
MRPlacemark.h
placemarkDescription
Description of the placemark
@property (nullable, nonatomic, copy) NSString *placemarkDescription
Declared In
MRPlacemark.h
name
The name given to this placemark.
@property (nullable, nonatomic, copy) NSString *name
Declared In
MRPlacemark.h
type
The placemark’s type, such as “cafe” or “water_fountain”.
@property (nullable, nonatomic, copy) NSString *type
Declared In
MRPlacemark.h
typeName
A form of the placemark’s type intended for display to users, such as “Cafe” or “Water Fountain”.
@property (nullable, nonatomic, copy) NSString *typeName
Declared In
MRPlacemark.h
color
The color to use when drawing this placemark’s map annotation. You can set this to override the default color.
@property (nullable, nonatomic, strong) UIColor *color
Declared In
MRPlacemark.h
point
This placemark’s coordinates relative to its parent map.
@property (nonatomic, assign) CGPoint point
Declared In
MRPlacemark.h
hideOnMap
If YES, this placemark will not be shown on its map.
@property (nonatomic, assign) BOOL hideOnMap
Declared In
MRPlacemark.h
imageURL
An image representing this placemark.
@property (nullable, nonatomic, strong) NSURL *imageURL
Declared In
MRPlacemark.h
area
A path describing the placemark’s area, if one was defined.
@property (nonatomic, strong) UIBezierPath *area
Declared In
MRPlacemark.h
zPosition
This property changes the the front-to-back ordering of annotations onscreen. Default will be some value between MRZPositionPlacemarkMin and MRZPositionPlacemarkMax
@property (nonatomic, assign) CGFloat zPosition
Declared In
MRPlacemark.h
collides
If YES this annotation collides with other annotations. Default is YES.
@property (nonatomic, assign) BOOL collides
Declared In
MRPlacemark.h
uid
A unique identifier to link this placemark to objects outside of the Meridian Editor
@property (nullable, nonatomic, copy) NSString *uid
Declared In
MRPlacemark.h
– initWithMap:point:
Programmatically create an MRPlacemark that may not exist in the Meridian Editor, but can be used for other APIs like directions.
- (instancetype)initWithMap:(MREditorKey *)mapKey point:(CGPoint)point
Parameters
mapKey |
The map that this placemark belongs to. |
---|---|
point |
The coordinates of this placemark. |
Declared In
MRPlacemark.h