#import #import #import #import @class TGLocationMapView; @class TGLocationOptionsView; @interface TGLocationMapViewController : TGViewController { CGFloat _tableViewTopInset; CGFloat _tableViewBottomInset; UITableView *_tableView; UIActivityIndicatorView *_activityIndicator; UILabel *_messageLabel; UIView *_mapViewWrapper; TGLocationMapView *_mapView; TGLocationOptionsView *_optionsView; UIImageView *_edgeView; UIImageView *_edgeHighlightView; } @property (nonatomic, copy) void (^liveLocationStarted)(CLLocationCoordinate2D coordinate, int32_t period); @property (nonatomic, copy) void (^liveLocationStopped)(void); - (void)userLocationButtonPressed; - (void)setMapCenterCoordinate:(CLLocationCoordinate2D)coordinate offset:(CGPoint)offset animated:(bool)animated; - (void)setMapCenterCoordinate:(CLLocationCoordinate2D)coordinate span:(MKCoordinateSpan)span offset:(CGPoint)offset animated:(bool)animated; - (void)updateInsets; - (void)updateMapHeightAnimated:(bool)animated; - (CGFloat)visibleContentHeight; - (CGFloat)mapHeight; - (SSignal *)userLocationSignal; - (void)_presentLiveLocationMenu:(CLLocationCoordinate2D)coordinate dismissOnCompletion:(bool)dismissOnCompletion; @end extern const CGFloat TGLocationMapInset; extern const CGFloat TGLocationMapClipHeight; extern const MKCoordinateSpan TGLocationDefaultSpan;