MRPlacemark Class Reference
| Inherits from | MRPointAnnotation : NSObject |
|---|---|
| Conforms to | MRDSearchResultDisplayable |
| 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 *keyDeclared In
MRPlacemark.h
relatedMapKey
If not nil, indicates this placemark leads to another map.
@property (nonatomic, copy) MREditorKey *relatedMapKeyDeclared In
MRPlacemark.h
placemarkDescription
Description of the placemark
@property (nullable, nonatomic, copy) NSString *placemarkDescriptionDeclared In
MRPlacemark.h
name
The name given to this placemark.
@property (nullable, nonatomic, copy) NSString *nameDeclared In
MRPlacemark.h
type
The placemark’s type, such as “cafe” or “water_fountain”.
@property (nullable, nonatomic, copy) NSString *typeDeclared 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 *typeNameDeclared In
MRPlacemark.h
typeCategory
The placemark type category, example for “Men’s Restrooms” might be “Restroom”. Intended to display to users.
@property (nullable, nonatomic, copy) NSString *typeCategoryDeclared 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 *colorDeclared In
MRPlacemark.h
point
This placemark’s coordinates relative to its parent map.
@property (nonatomic, assign) CGPoint pointDeclared In
MRPlacemark.h
hideOnMap
If YES, this placemark will not be shown on its map.
@property (nonatomic, assign) BOOL hideOnMapDeclared In
MRPlacemark.h
imageURL
An image representing this placemark.
@property (nullable, nonatomic, strong) NSURL *imageURLDeclared In
MRPlacemark.h
area
A path describing the placemark’s area, if one was defined.
@property (nonatomic, strong) UIBezierPath *areaDeclared 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 zPositionDeclared In
MRPlacemark.h
collides
If YES this annotation collides with other annotations. Default is YES.
@property (nonatomic, assign) BOOL collidesDeclared In
MRPlacemark.h
uid
A unique identifier to link this placemark to objects outside of the Meridian Editor
@property (nullable, nonatomic, copy) NSString *uidDeclared In
MRPlacemark.h
coordinates
CLLocation object containing latitude and longitude of the placemark if available
@property (nullable, nonatomic, copy) CLLocation *coordinatesDeclared In
MRPlacemark.h
facility
Is the placemark a facility? If not, it’s a point of interest.
@property (nonatomic, assign, getter=isFacility) BOOL facilityDeclared In
MRPlacemark.h
phone
Phone number assigned to placemark
@property (nullable, nonatomic, copy) NSString *phoneDeclared In
MRPlacemark.h
email
Email address assigned to placemark
@property (nullable, nonatomic, copy) NSString *emailDeclared In
MRPlacemark.h
URL
Url assigned to placemark
@property (nullable, nonatomic, copy) NSURL *URLDeclared In
MRPlacemark.h
disabled
If YES, this placemark is disabled.
@property (nonatomic, assign, getter=isDisabled) BOOL disabledDeclared 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)pointParameters
mapKey |
The map that this placemark belongs to. |
|---|---|
point |
The coordinates of this placemark. |
Declared In
MRPlacemark.h
– isEqualToPlacemark:
Compares placemarks using their editor key.
- (BOOL)isEqualToPlacemark:(MRPlacemark *)placemarkParameters
placemark |
A placemark being compared against. |
|---|
Declared In
MRPlacemark.h