Changed init method, as well as further clean up to get ASMapNode ready for 2.0

This commit is contained in:
Aaron Schubert
2015-12-08 10:37:00 +00:00
parent c9a0a3d46f
commit 1dfb8fac67
3 changed files with 60 additions and 41 deletions

View File

@@ -11,7 +11,7 @@
@interface ASMapNode : ASImageNode
- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithRegion:(MKCoordinateRegion)region NS_DESIGNATED_INITIALIZER;
/**
This is the MKMapView that is the live map part of ASMapNode. This will be nil if .liveMap = NO. Note, MKMapView is *not* thread-safe.