高德地图SDK(导航) V11.2.0501

Loading...
Searching...
No Matches
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
MABaseOverlay
Definition MABaseOverlay.h:14
© 2017 高德信息技术有限公司 版权所有，保留所有权利。