-
Notifications
You must be signed in to change notification settings - Fork 86
/
Copy pathIndoorMapScrollView.h
66 lines (50 loc) · 1.47 KB
/
IndoorMapScrollView.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//
// IndoorMapScrollView.h
// WisdomMallAPP
//
// Created by apple on 13-12-17.
// Copyright (c) 2013年 apple. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "IndoorMapViewNew.h"
#import "MapPopView.h"
#import "MyPositon.h"
#import "Shop.h"
#import "PrimitivePoints.h"
typedef void(^AnimationCompletion)();
@interface IndoorMapScrollView : UIScrollView <UIScrollViewDelegate, IndoorMapViewNewDelegate>
{
MapPopView *popover;
CGPoint _touchPoint;
NSMutableArray *pointsArray;
NSMutableArray *facilitiesArray;
//ios7
CGFloat _offset_y;
BOOL _isFindingcar;//寻车
BOOL _isStartMap;//
MyPositon *_myPosition;
MyPositon *_endPositon;
//最短距离的电梯口(能通往车库的)
FacilityPoints *minDistancePoint;
PrimitivePoints *_selectedPoint;
BOOL _isSelectedPopover;
}
@property (strong, nonatomic) IndoorMapViewNew *mapViewNew;
- (void)zoomIn;
- (void)zoomOut;
- (void)showPopover;
- (void)hidePopover;
- (FacilityPoints *)minFacilityPoint;
/**
* 寻找到我的位置最近的到目的地的 电梯(升降梯或扶手梯, 文件中带有P的)
**/
- (void)findMinDistancePoint:(MyPositon *)position;
- (void)popupOfPosition:(MyPositon *)position;
- (void)setPopupTitleText:(NSString *)title subText:(NSString *)subStr;
/**
* 两点之间最短距离
*/
- (void)findShortestPath:(CGPoint)start
end:(CGPoint)end
filePath:(NSString *)filePath;
@end