OSPlacemark Class Reference
Inherits from | NSObject |
Conforms to | OSAnnotation |
Declared in | OSPlacemark.h |
Overview
- A wrapper around
CLPlacemark
that implements the OSAnnotation protocol. * - This class is not a subclass of CLPlacemark because CLPlacemark’s constructors are private apart from
initWithPlacemark:
and the properties are read-only.
Tasks
Specifying co-ordinates
-
CLPlacemark
property -
name
property -
placemarkType
This property returns the single/double character code listed above
property -
fullPlacemarkType
This property returns the expanded description in capitals. R is expressed as ROMAN, W as WATER, and H as HILL. X is UNKNOWN
property -
county
property -
gridPoint
The center point of the annotation, as an OSGridPoint. The implementation of this property must be KVO-compliant. If this returns a valid OSGridPoint, it is used instead of the coordinate.
property -
– initWithPlacemark:
-
– initWithName:type:county:gridPoint:
Properties
fullPlacemarkType
This property returns the expanded description in capitals. R is expressed as ROMAN, W as WATER, and H as HILL. X is UNKNOWN
@property (nonatomic, copy, readonly) NSString *fullPlacemarkType
Declared In
OSPlacemark.h
gridPoint
The center point of the annotation, as an OSGridPoint. The implementation of this property must be KVO-compliant. If this returns a valid OSGridPoint, it is used instead of the coordinate.
@property (nonatomic, assign, readonly) OSGridPoint gridPoint
Declared In
OSAnnotation.h