PWCustomLocation Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | PWMapPoint |
| Declared in | PWCustomLocation.h |
coordinate
Center latitude and longitude of this annotation.
@property (nonatomic) CLLocationCoordinate2D coordinateDeclared In
PWCustomLocation.h
identifier
The identifier of this annotation.
@property (nonatomic) NSInteger identifierDeclared In
PWCustomLocation.h
floorID
The MaaS identifier of the floor the custom location is on.
@property (nonatomic) NSInteger floorIDDeclared In
PWCustomLocation.h
buildingID
The MaaS identifier of the building the custom location is in.
@property (nonatomic) NSInteger buildingIDDeclared In
PWCustomLocation.h
title
The name of the this annotation.
@property (nonatomic, copy, nullable) NSString *titleDeclared In
PWCustomLocation.h
– initWithCoordinate:identifier:floorId:buildingId:title:
Instantiates a PWCustomLocation object with the given properties.
- (instancetype __nullable)initWithCoordinate:(CLLocationCoordinate2D)coordinate identifier:(NSInteger)identifier floorId:(NSInteger)floorId buildingId:(NSInteger)buildingId title:(NSString *__nullable)titleParameters
coordinate |
The lat, long position of the custom location |
|---|---|
identifier |
Integer to help the developer identify the custom location |
floorId |
The MaaS identifier of the floor the custom location is on |
buildingId |
The MaaS identifier of the building the custom location is in |
title |
The name of the custom location |
Return Value
Returns a PWCustomLocation object, or nil if the given coordinate is invalid.
Declared In
PWCustomLocation.h