PWCustomPointOfInterest Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | PWMapPoint |
| Declared in | PWCustomPointOfInterest.h |
coordinate
The location of the point-of-interest.
@property (nonatomic) CLLocationCoordinate2D coordinateDeclared In
PWCustomPointOfInterest.h
identifier
The point identifier as specified by the mapping service.
@property (nonatomic) NSInteger identifierDeclared In
PWCustomPointOfInterest.h
floorID
The identifier of the floor this point belongs to.
@property (nonatomic) NSInteger floorIDDeclared In
PWCustomPointOfInterest.h
floor
The floor this point belongs to.
@property (nonatomic, readonly, nullable, weak) PWFloor *floorDeclared In
PWCustomPointOfInterest.h
buildingID
The identifier of the building this point belongs to.
@property (nonatomic) NSInteger buildingIDDeclared In
PWCustomPointOfInterest.h
title
The title of the point-of-interest.
@property (nonatomic, copy, nullable) NSString *titleDeclared In
PWCustomPointOfInterest.h
summary
A summary description of the point-of-interest.
@property (nonatomic, copy, nullable) NSString *summaryDeclared In
PWCustomPointOfInterest.h
image
The representative UIImage of the point-of-interest.
@property (nonatomic, nullable) UIImage *imageDeclared In
PWCustomPointOfInterest.h
pointOfInterestType
A PWPointOfInterestType object that this custom point-of-interest is a member of, a type image icon will automatically be applied if the image property is not set.
@property (nonatomic, nullable) PWPointOfInterestType *pointOfInterestTypeDeclared In
PWCustomPointOfInterest.h
metaData
Optional data specified by the developer and associated with the custom point-of-interest.
@property (nonatomic, nullable) NSDictionary *metaDataDeclared In
PWCustomPointOfInterest.h
showTextLabel
A flag indicating whether the label text should be shown or hidden.
@property (nonatomic, getter=isShowTextLabel) BOOL showTextLabelDeclared In
PWCustomPointOfInterest.h
accessible
A flag indicating if it’s an accessible point.
@property (nonatomic, getter=isAccessible) BOOL accessibleDeclared In
PWCustomPointOfInterest.h
visualImpaired
A flag indicating if the point is friendly to the visually-impaired.
@property (nonatomic, getter=isVisualImpaired) BOOL visualImpairedDeclared In
PWCustomPointOfInterest.h
exit
A flag indicating if it’s an exit point.
@property (nonatomic, getter=isExit) BOOL exitDeclared In
PWCustomPointOfInterest.h
minZoomLevel
The minimum zoom level that the point-of-interest is visible on, and the below are the possible values: -1 - always visible(the default value). 1 - subtract 4 from the maximum zoom level that current iOS map supports, it’s 18. 2 - subtract 3 from the maximum zoom level that current iOS map supports, it’s 19. 3 - subtract 2 from the maximum zoom level that current iOS map supports, it’s 20. 4 - subtract 1 from the maximum zoom level that current iOS map supports, it’s 21. 5 - the maximum zoom level that current iOS map supports, it’s 22.
@property (nonatomic) NSInteger minZoomLevelDiscussion
The point-of-interest is only visble when the map zoom level is between minZoomLevel and maxZoomLevel, it’s -1 by default.
Declared In
PWCustomPointOfInterest.h
maxZoomLevel
The maximum zoom level that the point-of-interest is visible on, and the below are the possible values: -1 - always visible(the default value). 1 - subtract 4 from the maximum zoom level that current iOS map supports, it’s 18. 2 - subtract 3 from the maximum zoom level that current iOS map supports, it’s 19. 3 - subtract 2 from the maximum zoom level that current iOS map supports, it’s 20. 4 - subtract 1 from the maximum zoom level that current iOS map supports, it’s 21. 5 - the maximum zoom level that current iOS map supports, it’s 22.
@property (nonatomic) NSInteger maxZoomLevelDiscussion
The point-of-interest is only visble when the map zoom level is between minZoomLevel and maxZoomLevel, it’s -1 by default.
Declared In
PWCustomPointOfInterest.h
– initWithCoordinate:floor:title:image:
Instantiates a PWCustomPointOfInterest object with the given parameters.
- (instancetype __nullable)initWithCoordinate:(CLLocationCoordinate2D)coordinate floor:(PWFloor *)floor title:(NSString *__nullable)title image:(UIImage *__nullable)imageParameters
coordinate |
The coordinate of custom point-of-interest. |
|---|---|
floor |
The floor the custom point-of-interest is on. |
title |
The title of the custom point-of-interest. |
image |
The icon of the custom point-of-interest. |
Return Value
Returns a PWCustomPointOfInterest object.
Declared In
PWCustomPointOfInterest.h
– initWithCoordinate:floorId:buildingId:title:image:
Instantiates a PWCustomPointOfInterest object with the given parameters.
- (instancetype __nullable)initWithCoordinate:(CLLocationCoordinate2D)coordinate floorId:(NSInteger)floorId buildingId:(NSInteger)buildingId title:(NSString *__nullable)title image:(UIImage *__nullable)imageParameters
coordinate |
The coordinate of custom point-of-interest. |
|---|---|
floorId |
The identifier of the floor the custom point-of-interest is on. |
buildingId |
The identifier of the building the custom point-of-interest is in. |
title |
The title of the custom point-of-interest. |
image |
The icon of the custom point-of-interest. |
Return Value
Returns a PWCustomPointOfInterest object.
Declared In
PWCustomPointOfInterest.h