地图绘制线条(百度与google差异) Posted on 2018-09-04 1、轨迹回放:线条绘制与点到点动画 12345678910//百度地图线条绘制:[BMKPolyline setPolylineWithCoordinates:coor count:count];//动画:[UIView animateWithDuration:node.distance/30/timeFloat animations:^{ currentIndex++; BMKSportNode *node = [sportNodes objectAtIndex:currentIndex ]; BMKPointAnnotation.coordinate = node.coordinate;} completion:^(BOOL finished) { //循环}]; Read more »