如何在 gmap.net ----->---- 这样的地图上添加带有中风中帽(箭头)的路线?目前我写了这个
List<PointLatLng> routeItems = new List<PointLatLng>();
routeItems.Add(previousPosition);
routeItems.Add(curposition);
GMapRoute myroute = new GMapRoute(routeItems, "route" + position.Id);
AdjustableArrowCap bigArrow = new AdjustableArrowCap(5, 5, false);
Pen p = new Pen(Color.Red, 1);
p.DashStyle = DashStyle.DashDot;
bigArrow.MiddleInset = 5;
p.CustomStartCap = bigArrow;
myroute.Stroke = p;
last10markerOverlay.Routes.Add(myroute);