高德地图SDK(导航)  V11.1.000
MATileOverlay.h
Go to the documentation of this file.
1 //
2 // MATileOverlay.h
3 // MapKit_static
4 //
5 // Created by Li Fei on 11/22/13.
6 // Copyright © 2016 Amap. All rights reserved.
7 //
8 
9 #import "MAConfig.h"
10 #if MA_INCLUDE_OVERLAY_TILE
11 
12 #import "MAOverlay.h"
13 #import "MABaseOverlay.h"
14 
18 
21 @property (nonatomic, assign) CGSize tileSize;
22 
25 @property NSInteger minimumZ __attribute((deprecated("Deprecated, calling has no effect. since 9.6.0")));
26 
29 @property NSInteger maximumZ __attribute((deprecated("Deprecated, calling has no effect. since 9.6.0")));
30 
33 @property (readonly) NSString *URLTemplate;
34 
37 @property (nonatomic) BOOL canReplaceMapContent;
38 
41 @property (nonatomic, assign) BOOL disableOffScreenTileLoading;
42 
51 - (id)initWithURLTemplate:(NSString *)URLTemplate;
52 
53 @end
54 
57  NSInteger x;
58  NSInteger y;
59  NSInteger z;
61  NSInteger index;
62  NSInteger requestId;
63 };
65 
69 
77 - (NSURL *)URLForTilePath:(MATileOverlayPath)path;
78 
86 - (void)loadTileAtPath:(MATileOverlayPath)path result:(void (^)(NSData *tileData, NSError *error))result;
87 
93 - (void)cancelLoadOfTileAtPath:(MATileOverlayPath)path;
94 
95 @end
96 
97 #endif
Definition: MATileOverlay.h:68
Definition: MABaseOverlay.h:14
Definition: MATileOverlay.h:18
BOOL canReplaceMapContent
Definition: MATileOverlay.h:37
NSInteger maximumZ __attribute((deprecated("Deprecated, calling has no effect. since 9.6.0")))
NSInteger minimumZ __attribute((deprecated("Deprecated, calling has no effect. since 9.6.0")))
CGSize tileSize
Definition: MATileOverlay.h:21
NSString * URLTemplate
Definition: MATileOverlay.h:33
BOOL disableOffScreenTileLoading
Definition: MATileOverlay.h:41
MATileOverlayPath.
Definition: MATileOverlay.h:56
NSInteger y
y坐标 y-coordinate
Definition: MATileOverlay.h:58
NSInteger x
x坐标 x-coordinate
Definition: MATileOverlay.h:57
NSInteger index
对应的下载url corresponding download URL
Definition: MATileOverlay.h:61
NSInteger z
缩放级别 zoom level
Definition: MATileOverlay.h:59
CGFloat contentScaleFactor
屏幕的scale factor screen's scale factor
Definition: MATileOverlay.h:60
© 2017 高德信息技术有限公司 版权所有,保留所有权利。