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.
62 lines
1.5 KiB
62 lines
1.5 KiB
![]()
2 years ago
|
//
|
||
|
// TrackInfoViewController.h
|
||
|
// watch
|
||
|
//
|
||
|
// Created by xTT on 2017/7/21.
|
||
|
// Copyright © 2017年 xTT. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "baseViewController.h"
|
||
|
#import <MapKit/MapKit.h>
|
||
|
//#import <MAMapKit/MAMapKit.h>
|
||
|
#import <AMapFoundationKit/AMapFoundationKit.h>
|
||
|
#import "Track.h"
|
||
|
|
||
|
|
||
|
typedef void(^BlockCall)(void);
|
||
|
@interface TrackInfoViewController : baseViewController
|
||
|
|
||
|
@property (strong, nonatomic) Track *infoTrack;
|
||
|
|
||
|
//放大和缩小按钮的 View
|
||
|
@property (strong, nonatomic) IBOutlet UIView *zoomBtnView;
|
||
|
//放大按钮
|
||
|
@property (strong, nonatomic) IBOutlet UIButton *addZoomBtn;
|
||
|
//缩小按钮
|
||
|
@property (strong, nonatomic) IBOutlet UIButton *subtractZoomBtn;
|
||
|
|
||
|
|
||
|
/**
|
||
|
轨迹播放/停止播放
|
||
|
*/
|
||
|
@property (strong, nonatomic) IBOutlet UIButton *startAndStopBtn;
|
||
|
|
||
|
|
||
|
@property (weak ,nonatomic) IBOutlet MKMapView *mapView;
|
||
|
//@property (weak ,nonatomic) IBOutlet MAMapView *mapView;
|
||
|
|
||
|
@property (strong, nonatomic) NSMutableArray *mapPoints;//设备轨迹点数组
|
||
|
|
||
|
|
||
|
// 定位类型的显示Image
|
||
|
@property (strong, nonatomic) IBOutlet UIImageView *locationTypeImageView;
|
||
|
|
||
|
|
||
|
//定位类型
|
||
|
@property (strong, nonatomic) IBOutlet UILabel *locationTypeLabel;
|
||
|
|
||
|
// 定位地址内容标题 + 时间
|
||
|
@property (strong, nonatomic) IBOutlet UILabel *locationAddressLabel;
|
||
|
|
||
|
/**
|
||
|
地图的高度
|
||
|
*/
|
||
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *mapViewHeightNSLC;
|
||
|
|
||
|
/**
|
||
|
加载数据轨迹点
|
||
|
@param track 信息的轨迹点
|
||
|
*/
|
||
|
- (void)loadWithInfoTrack:(Track*)track Back:(BlockCall)blockCall;
|
||
|
@end
|