You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
683 B
26 lines
683 B
#if !defined(__has_feature) || !__has_feature(objc_arc) |
|
#error "This file requires ARC support." |
|
#endif |
|
|
|
#import "GoogleMapsDemos/Samples/IndoorViewController.h" |
|
|
|
#import <GoogleMaps/GoogleMaps.h> |
|
|
|
@implementation IndoorViewController { |
|
GMSMapView *_mapView; |
|
} |
|
|
|
- (void)viewDidLoad { |
|
[super viewDidLoad]; |
|
GMSCameraPosition *camera = [GMSCameraPosition cameraWithLatitude:37.78318 |
|
longitude:-122.403874 |
|
zoom:18]; |
|
|
|
_mapView = [GMSMapView mapWithFrame:CGRectZero camera:camera]; |
|
_mapView.settings.myLocationButton = YES; |
|
|
|
self.view = _mapView; |
|
} |
|
|
|
|
|
@end
|
|
|