diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-12-16 11:13:59 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-12-16 16:15:28 -0800 |
commit | 2ee52915fe4d2889ddac217678d40dca9beae176 (patch) | |
tree | 5906ad432e1fe755c3b87199b067714c6d51034c /include | |
parent | 2b782308e5bf0e33f2267499630f25006b451cf7 (diff) | |
download | qtlocation-mapboxgl-2ee52915fe4d2889ddac217678d40dca9beae176.tar.gz |
[ios, android] Add a method to invalidate custom layers, forcing a repaint
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/ios/MGLMapView+MGLCustomStyleLayerAdditions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/ios/MGLMapView+MGLCustomStyleLayerAdditions.h b/include/mbgl/ios/MGLMapView+MGLCustomStyleLayerAdditions.h index afb21f9b6a..3c74b02969 100644 --- a/include/mbgl/ios/MGLMapView+MGLCustomStyleLayerAdditions.h +++ b/include/mbgl/ios/MGLMapView+MGLCustomStyleLayerAdditions.h @@ -20,6 +20,8 @@ typedef void (^MGLCustomStyleLayerCompletionHandler)(void); - (void)insertCustomStyleLayerWithIdentifier:(NSString *)identifier preparationHandler:(MGLCustomStyleLayerPreparationHandler)preparation drawingHandler:(MGLCustomStyleLayerDrawingHandler)drawing completionHandler:(MGLCustomStyleLayerCompletionHandler)completion belowStyleLayerWithIdentifier:(nullable NSString *)otherIdentifier; +- (void)invalidateCustomStyleLayers; + @end NS_ASSUME_NONNULL_END |