iOS高德地图SDK(3D) V11.2.0001

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
17 @interface MATileOverlay : MABaseOverlay
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
56 struct MATileOverlayPath{
57 NSInteger x;
58 NSInteger y;
59 NSInteger z;
60 CGFloat contentScaleFactor;
61 NSInteger index;
62 NSInteger requestId;
63 };
64 typedef struct MATileOverlayPath MATileOverlayPath;
65
68 @interface MATileOverlay (CustomLoading)
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
MABaseOverlay.h
MAConfig.h
MAOverlay.h
MATileOverlay(CustomLoading)
Definition: MATileOverlay.h:68
MABaseOverlay
Definition: MABaseOverlay.h:14
MATileOverlay
Definition: MATileOverlay.h:18
MATileOverlay::canReplaceMapContent
BOOL canReplaceMapContent
Definition: MATileOverlay.h:37
-[MATileOverlay __attribute]
NSInteger maximumZ __attribute((deprecated("Deprecated, calling has no effect. since 9.6.0")))
-[MATileOverlay __attribute]
NSInteger minimumZ __attribute((deprecated("Deprecated, calling has no effect. since 9.6.0")))
MATileOverlay::tileSize
CGSize tileSize
Definition: MATileOverlay.h:21
MATileOverlay::URLTemplate
NSString * URLTemplate
Definition: MATileOverlay.h:33
MATileOverlay::disableOffScreenTileLoading
BOOL disableOffScreenTileLoading
Definition: MATileOverlay.h:41
MATileOverlayPath
MATileOverlayPath.
Definition: MATileOverlay.h:56
MATileOverlayPath::y
NSInteger y
y坐标 y-coordinate
Definition: MATileOverlay.h:58
MATileOverlayPath::x
NSInteger x
x坐标 x-coordinate
Definition: MATileOverlay.h:57
MATileOverlayPath::index
NSInteger index
对应的下载url corresponding download URL
Definition: MATileOverlay.h:61
MATileOverlayPath::z
NSInteger z
缩放级别 zoom level
Definition: MATileOverlay.h:59
MATileOverlayPath::contentScaleFactor
CGFloat contentScaleFactor
屏幕的scale factor screen's scale factor
Definition: MATileOverlay.h:60
© 2017 高德信息技术有限公司 版权所有，保留所有权利。