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
annotationThe annotation for which to refresh the appearance.
refreshOptionsThe refresh options to use, or
niluserInfoA dictionary containing additional information, or
nil
PTAnnotationRefreshAppearanceHandler Protocol Reference