PTAnnotationRefreshAppearanceHandler
@protocol PTAnnotationRefreshAppearanceHandler <NSObject>
Classes conforming to this protocol are responsible for refreshing the appearance stream of annotations.
-
Refresh the appearance stream for the specified annotation.
Declaration
Objective-C
- (void) refreshAppearanceForAnnotation:(nonnull PTAnnot *)annotation withOptions:(nullable PTRefreshOptions *)refreshOptions userInfo:(nullable NSDictionary< PTAnnotationRefreshAppearanceUserInfoKey, id> *)userInfo;
Swift
func refreshAppearance(forAnnotation annotation: PTAnnot, with refreshOptions: PTRefreshOptions?, userInfo: [PTAnnotationRefreshAppearanceUserInfoKey : Any]? = nil)
Parameters
annotation
The annotation for which to refresh the appearance.
refreshOptions
The refresh options to use, or
nil
userInfo
A dictionary containing additional information, or
nil