2

我知道不同位置的gps,我如何制作这个动画?我尝试将gps转换为偏移量,但我失败了。所以,谁能给我一个解决问题的方法,谢谢

GMSPolyline *polyline = [[GMSPolyline alloc] init];
    GMSMutablePath *path = [GMSMutablePath path];
    [path addCoordinate:kSanLiTun];
    [path addCoordinate:kLongZe];
    [path addCoordinate:kJinTai];
    polyline.path = path;
    polyline.strokeColor = [UIColor redColor];
    polyline.strokeWidth = 2.f;
    polyline.zIndex = 15;  // above the larger geodesic line
    polyline.map = self.mapView;

此代码从位置绘制三条线。我想创建动画可以使图片在线移动

4

0 回答 0