This repository was archived by the owner on Jun 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 188
Expand file tree
/
Copy pathMapViewController.h
More file actions
55 lines (42 loc) · 1.55 KB
/
MapViewController.h
File metadata and controls
55 lines (42 loc) · 1.55 KB
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
//
// MapViewController.h
// map_view
//
// Created by Matthew Smith on 10/30/17.
//
#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import <GoogleMaps/GoogleMaps.h>
@class MapViewPlugin;
@class MapAnnotation;
@class MapPolyline;
@class MapPolygon;
@interface MapViewController : UIViewController <GMSMapViewDelegate, GMSIndoorDisplayDelegate>
- (id)initWithPlugin:(MapViewPlugin *)plugin
navigationItems:(NSArray *)items
cameraPosition:(GMSCameraPosition *)cameraPosition;
- (void)shutdown;
- (void)setCamera:(CLLocationCoordinate2D)location zoom:(float)zoom bearing:(CLLocationDirection)bearing tilt:(double)tilt;
- (void)updateAnnotations:(NSArray *)annotations;
- (void)clearAnnotations;
- (void)addAnnotation:(MapAnnotation *)annotation;
- (void)removeAnnotation:(MapAnnotation *)annotation;
- (void)updatePolylines:(NSArray *)polylines;
- (void)clearPolylines;
- (void)addPolyline:(MapPolyline *)polyline;
- (void)removePolyline:(MapPolyline *)polyline;
- (void)updatePolygons:(NSArray *)polylines;
- (void)clearPolygons;
- (void)addPolygon:(MapPolygon *)polyline;
- (void)removePolygon:(MapPolygon *)polyline;
- (void)zoomTo:(NSArray *)annotations padding:(float)padding;
- (void)zoomToAnnotations:(int)padding;
- (NSArray *)visibleMarkers;
- (NSArray *)visiblePolylines;
- (NSArray *)visiblePolygons;
- (void)setMapOptions:(BOOL)myLocationEnabled
locationButton:(BOOL)myLocationButton
compassButton:(BOOL)compassButton;
@property (readonly) float zoomLevel;
@property (readonly) CLLocationCoordinate2D centerLocation;
@end