Commit dd99aec6 authored by oscar's avatar oscar

更新代码

parent 22fa6cf8
...@@ -181,7 +181,11 @@ namespace jf { ...@@ -181,7 +181,11 @@ namespace jf {
{ {
nOutLaneType = LaneType::JunctionLane; nOutLaneType = LaneType::JunctionLane;
} }
#ifdef _DEBUG_API_
NearestRoadMark mark = g_map.GetNeartestLaneRoadMarkByXY(ptInLoc.dLon, ptInLoc.dLat); NearestRoadMark mark = g_map.GetNeartestLaneRoadMarkByXY(ptInLoc.dLon, ptInLoc.dLat);
#else
NearestRoadMark mark = g_map.GetNeartestLaneRoadMark(ptInLoc.dLon, ptInLoc.dLat);
#endif
if (mark._leftRoadMark) if (mark._leftRoadMark)
{ {
if (mark._leftRoadMark->_type == ODR_ROAD_MARK_TYPE_SOLID || mark._leftRoadMark->_type == ODR_ROAD_MARK_TYPE_SOLID_SOLID) if (mark._leftRoadMark->_type == ODR_ROAD_MARK_TYPE_SOLID || mark._leftRoadMark->_type == ODR_ROAD_MARK_TYPE_SOLID_SOLID)
......
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