MCPcopy Create free account
hub / github.com/comaps/comaps / AddRoutePreviewSegment

Method AddRoutePreviewSegment

libs/drape_frontend/drape_engine.cpp:585–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583}
584
585dp::DrapeID DrapeEngine::AddRoutePreviewSegment(m2::PointD const & startPt, m2::PointD const & finishPt)
586{
587 dp::DrapeID const id = GenerateDrapeID();
588 m_threadCommutator->PostMessage(ThreadsCommutator::RenderThread,
589 make_unique_dp<AddRoutePreviewSegmentMessage>(id, startPt, finishPt),
590 MessagePriority::Normal);
591 return id;
592}
593
594void DrapeEngine::RemoveRoutePreviewSegment(dp::DrapeID segmentId)
595{

Callers 1

ShowPreviewSegmentsMethod · 0.80

Calls 1

PostMessageMethod · 0.45

Tested by

no test coverage detected