提交 a676dd59 编写于 作者: X Xiangquan Xiao 提交者: HongyiSun

Update map.py

上级 f2d66705
......@@ -89,7 +89,7 @@ class Map:
def _draw_lane_id(self, lane, ax, color_val):
"""draw lane id"""
x, y = self._find_lane_central_point(lane)
self._draw_label(lane_id.id, (x,y), ax, color_val);
self._draw_label(lane_id.id, (x, y), ax, color_val);
def _draw_lane_details(self, lane, ax, color_val):
"""draw lane id"""
......@@ -142,7 +142,7 @@ class Map:
def _draw_pnc_junction_id(self, pnc_junction, ax, color_val):
x = pnc_junction.polygon.point[0].x
y = pnc_junction.polygon.point[0].y
self._draw_label(pnc_junction.id.id, (x,y), ax, color_val);
self._draw_label(pnc_junction.id.id, (x, y), ax, color_val);
def draw_crosswalks(self, ax):
cnt = 1
......@@ -155,7 +155,7 @@ class Map:
def _draw_crosswalk_id(self, crosswalk, ax, color_val):
x = crosswalk.polygon.point[0].x
y = crosswalk.polygon.point[0].y
self._draw_label(crosswalk.id.id, (x,y), ax, color_val);
self._draw_label(crosswalk.id.id, (x, y), ax, color_val);
@staticmethod
def _draw_label(label_id, point, ax, color_val):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册