forked from organicmaps/organicmaps
OSRM candidates filter fix.
This commit is contained in:
parent
9dd8bd7db2
commit
c06a8c2100
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ void Point2PhantomNode::operator()(FeatureType const & ft)
|
|||
|
||||
FindNearestSegment(ft, m_point, res);
|
||||
|
||||
if (res.m_fid != kInvalidFid)
|
||||
if (res.m_fid != kInvalidFid && !m_routingMapping.m_segMapping.GetNodeIdByFid(res.m_fid).empty())
|
||||
m_candidates.push_back(res);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue