diff options
Diffstat (limited to 'platform/macos/src/MGLMapView.h')
-rw-r--r-- | platform/macos/src/MGLMapView.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/platform/macos/src/MGLMapView.h b/platform/macos/src/MGLMapView.h index 21ae8c2974..35db5257d9 100644 --- a/platform/macos/src/MGLMapView.h +++ b/platform/macos/src/MGLMapView.h @@ -188,6 +188,19 @@ MGL_EXPORT IB_DESIGNABLE */ @property (nonatomic, readonly) NSView *attributionView; +/** + A Boolean value indicating whether the map should prefetch tiles. + + When this property is set to `YES`, the map view prefetches tiles designed for + a low zoom level and displays them until receiving more detailed tiles for the + current zoom level. The prefetched tiles typically contain simplified versions + of each shape, improving the map view’s perceived performance. + + The default value of this property is `YES`. + */ +@property (nonatomic, assign) BOOL prefetchesTiles; + + #pragma mark Manipulating the Viewpoint /** |