blob: 04af2ad3cad992542834618963aaca4171661476 (
plain)
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
|
#import "LocationManager.h"
#import "LocationPredictor.h"
#import "MWMNavigationDelegate.h"
#import "SearchView.h"
#import "ViewController.h"
#import <UIKit/UIKit.h>
#include "geometry/point2d.hpp"
#include "geometry/rect2d.hpp"
#include "indexer/map_style.hpp"
namespace search { struct AddressInfo; }
@class MWMMapViewControlsManager;
@class ShareActionSheet;
@interface MapViewController : ViewController <LocationObserver, UIPopoverControllerDelegate, MWMNavigationDelegate>
{
bool m_isSticking;
size_t m_StickyThreshold;
m2::PointD m_Pt1, m_Pt2;
/// Temporary solution to improve long touch detection.
m2::PointD m_touchDownPoint;
CGPoint m_popoverPos;
LocationPredictor * m_predictor;
}
- (void)setupMeasurementSystem;
// called when app is terminated by system
- (void)onTerminate;
- (void)onEnterForeground;
- (void)onEnterBackground;
- (void)dismissPopover;
- (void)setMapStyle:(MapStyle)mapStyle;
- (void)updateStatusBarStyle;
- (void)addPlacePageViews:(NSArray *)views;
- (void)showAPIBar;
@property (nonatomic) UIPopoverController * popoverVC;
@property (nonatomic) SearchView * searchView;
@property (nonatomic) ShareActionSheet * shareActionSheet;
@property (nonatomic, readonly) MWMMapViewControlsManager * controlsManager;
@property (nonatomic) m2::PointD restoreRouteDestination;
@end
|