yy1717
2020-03-23 682b17ff66dff23e03c6a57de276ea0c3e670c0e
lib/src/main/cpp/master/comm_if.cpp
@@ -526,9 +526,12 @@
                            vector<vector<int>> greenLines;
                            vector<vector<int>> triggerLines;
                            vector<vector<int>> redAreas;
                            vector<vector<int>> roadEdgeLines;
                            vector<int> area;
                            vector<int> stopLine;
                            roadEdgeLines.clear();
                            stopLine.clear();
                            area.clear();
                            tts.clear();
@@ -595,6 +598,20 @@
                                }
                            }
                            if (itr->HasMember("road_edge_line")) {
                                const Value &s = (*itr)["road_edge_line"];
                                for (Value::ConstValueIterator itrLine = s.Begin();
                                     itrLine != s.End(); ++itrLine) {
                                    points.clear();
                                    for (Value::ConstValueIterator itrPoint = (*itrLine).Begin();
                                         itrPoint != (*itrLine).End(); ++itrPoint) {
                                        points.push_back((*itrPoint).GetInt());
                                    }
                                    roadEdgeLines.push_back(points);
                                }
                            }
                            if (itr->HasMember("area")) {
                                const Value &s = (*itr)["area"];
@@ -633,7 +650,7 @@
                                tts = s.GetString();
                            }
                            AddRoadMapParent(id, type, tts, stop_flag, redLines, redAreas, greenLines, triggerLines, area, stopLine);
                            AddRoadMapParent(id, type, tts, stop_flag, redLines, redAreas, greenLines, triggerLines, roadEdgeLines, area, stopLine);
                        }
                    }
                }