Commit c54e9364 authored by 曹云霄's avatar 曹云霄

途径点

parent e9ab3839
...@@ -395,6 +395,22 @@ ...@@ -395,6 +395,22 @@
view.image = [image imageRotatedByDegrees:routeAnnotation.degree]; view.image = [image imageRotatedByDegrees:routeAnnotation.degree];
view.annotation = routeAnnotation; view.annotation = routeAnnotation;
}
break;
case 4:
{
view = [mapview dequeueReusableAnnotationViewWithIdentifier:@"route_node"];
if (view == nil) {
view = [[BMKAnnotationView alloc]initWithAnnotation:routeAnnotation reuseIdentifier:@"route_node"];
view.canShowCallout = TRUE;
} else {
[view setNeedsDisplay];
}
UIImage* image = [UIImage imageWithContentsOfFile:[self getMyBundlePath1:@"images/icon_direction.png"]];
view.image = [image imageRotatedByDegrees:routeAnnotation.degree];
view.annotation = routeAnnotation;
} }
break; break;
case 5://未送达途经点 case 5://未送达途经点
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment