基于高德地图 iOS SDK 的轨迹回放 库
-
创建 Tracking 类
self.tracking = [[Tracking alloc] initWithCoordinates:coordinates count:count]; self.tracking.delegate = self; self.tracking.mapView = self.mapView; self.tracking.duration = 5.f; self.tracking.edgeInsets = UIEdgeInsetsMake(50, 50, 50, 50);
-
执行轨迹回放
[self.tracking execute];
手机扫描如下二维码直接安装
手机上打开地址:http://fir.im/rAFu>